T - element type of the underlying collectionpublic class FilteredCollection<T> extends SubclassFilteredCollection<T,T>
size| Constructor and Description |
|---|
FilteredCollection(java.util.Collection<? extends T> collection,
Predicate<? super T> predicate)
Constructs a new
FilteredCollection. |
isEmpty, iterator, sizeadd, addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic FilteredCollection(java.util.Collection<? extends T> collection, Predicate<? super T> predicate)
FilteredCollection.collection - The base collection to filterpredicate - The predicate to use as filter