public void cancel(String tag){
  List<NotificationEntry> entries=mCenter.getEntries(ID,tag);
  if (entries != null && !entries.isEmpty()) {
    for (    NotificationEntry entry : entries) {
      cancel(entry);
    }
  }
}

public void cancel ( String tag ) { List < NotificationEntry > entries = mCenter . getEntries ( ID , tag ) ; if ( entries != null && ! entries . isEmpty ( ) ) { for ( NotificationEntry entry : entries ) { cancel ( entry ) ; } } }
cancel notifications by its tag .
