Changeset 10584 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-07-22T22:08:31+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/SubclassFilteredCollection.java
r10582 r10584 118 118 * @param collection The collection to filter. 119 119 * @param predicate The predicate to filter for. 120 * @return The filtered collection. It is a Collection<T>.120 * @return The filtered collection. It is a {@code Collection<T>}. 121 121 */ 122 122 public static <T> SubclassFilteredCollection<T, T> filter(Collection<T> collection, java.util.function.Predicate<T> predicate) { 123 return new SubclassFilteredCollection< T, T>(collection, predicate);123 return new SubclassFilteredCollection<>(collection, predicate); 124 124 } 125 125 }
Note:
See TracChangeset
for help on using the changeset viewer.