001 // License: GPL. For details, see LICENSE file.
002 package org.openstreetmap.josm.tools;
003
004 import java.util.Collection;
005
006 /**
007 * The same as SubclassFilteredCollection, but does not restrict the type
008 * of the collection to a certain subclass.
009 */
010 public class FilteredCollection<T> extends SubclassFilteredCollection<T, T> {
011
012 public FilteredCollection(Collection<? extends T> collection, Predicate<? super T> predicate) {
013 super(collection, predicate);
014 }
015
016 }