synchronized void remove(NotificationManager manager){
  int last=cache.size() - 1;
  manager.cancel(cache.get(last));
  cache.remove(last);
}

synchronized void remove ( NotificationManager manager ) { int last = cache . size ( ) - 1 ; manager . cancel ( cache . get ( last ) ) ; cache . remove ( last ) ; }
remove oldest notification from cache and cancel it
