org.openstreetmap.josm.tools
Class FilteredCollection<T>

java.lang.Object
  extended by java.util.AbstractCollection<T>
      extended by org.openstreetmap.josm.tools.SubclassFilteredCollection<T,T>
          extended by org.openstreetmap.josm.tools.FilteredCollection<T>
All Implemented Interfaces:
java.lang.Iterable<T>, java.util.Collection<T>

public class FilteredCollection<T>
extends SubclassFilteredCollection<T,T>

The same as SubclassFilteredCollection, but does not restrict the type of the collection to a certain subclass.


Field Summary
 
Fields inherited from class org.openstreetmap.josm.tools.SubclassFilteredCollection
size
 
Constructor Summary
FilteredCollection(java.util.Collection<? extends T> collection, Predicate<? super T> predicate)
           
 
Method Summary
 
Methods inherited from class org.openstreetmap.josm.tools.SubclassFilteredCollection
isEmpty, iterator, size
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

FilteredCollection

public FilteredCollection(java.util.Collection<? extends T> collection,
                          Predicate<? super T> predicate)


JOSM