private static void filterItem(Iterable<BaseObject> items,String id){
  Iterator<BaseObject> it=items.iterator();
  while (it.hasNext()) {
    BaseObject obj=it.next();
    if (id.equals(obj.getId())) {
      it.remove();
      break;
    }
  }
}

private static void filterItem ( Iterable < BaseObject > items , String id ) { Iterator < BaseObject > it = items . iterator ( ) ; while ( it . hasNext ( ) ) { BaseObject obj = it . next ( ) ; if ( id . equals ( obj . getId ( ) ) ) { it . remove ( ) ; break ; } } }
removes an item with the specified id of a list of feed items if found .
