source: josm/trunk/src/org/openstreetmap/josm/tools/FilteredCollection.java@ 4153

Last change on this file since 4153 was 3802, checked in by bastiK, 13 years ago

forgot to add

  • Property svn:eol-style set to native
File size: 469 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.tools;
3
4import java.util.Collection;
5
6/**
7 * The same as SubclassFilteredCollection, but does not restrict the type
8 * of the collection to a certain subclass.
9 */
10public class FilteredCollection<T> extends SubclassFilteredCollection<T, T> {
11
12 public FilteredCollection(Collection<? extends T> collection, Predicate<? super T> predicate) {
13 super(collection, predicate);
14 }
15
16}
Note: See TracBrowser for help on using the repository browser.