Uses of Class
org.openstreetmap.josm.tools.SubclassFilteredCollection
Packages that use SubclassFilteredCollection
Package
Description
Provides the classes for various utilities and tools called from all other packages.
-
Uses of SubclassFilteredCollection in org.openstreetmap.josm.tools
Methods in org.openstreetmap.josm.tools that return SubclassFilteredCollectionModifier and TypeMethodDescriptionstatic <T> SubclassFilteredCollection<T,T> SubclassFilteredCollection.filter(Collection<? extends T> collection, Predicate<T> predicate) Create a new filtered collection without any constraints on the predicate type.static <S,T extends S>
SubclassFilteredCollection<S,T> Utils.filteredCollection(Collection<S> collection, Class<T> clazz) Filter a collection by (sub)class.