text: public virtual bool remove(object @object){java.util.Iterator<E> it = iterator();if (@object != null){while (it.hasNext()){if (@object.Equals(it.next())){it.remove();return true;}}}else{while (it.hasNext()){if (it.next() == null){it.remove();return true;}}}return false;}