| Constructor and Description |
|---|
FilteredCollection(Collection<T> coll,
UnaryFunction<Boolean,T> filter) |
FilteredCollection(Iterable<T> coll,
UnaryFunction<Boolean,T> filter) |
FilteredCollection(T[] coll,
UnaryFunction<Boolean,T> filter) |
| Modifier and Type | Method and Description |
|---|---|
static <X> Iterable<X> |
filter(Iterable<X> coll,
UnaryFunction<Boolean,X> filter)
Static helper function, makes usage shorter.
|
static <X> Iterable<X> |
filter(X[] coll,
UnaryFunction<Boolean,X> filter) |
Iterator<T> |
iterator() |
static <X> List<X> |
listFilter(Iterable<X> coll,
UnaryFunction<Boolean,X> filter)
Static helper function, makes common usage shorter.
|
static <X> List<X> |
listFilter(X[] coll,
UnaryFunction<Boolean,X> filter) |
static void |
main(String[] args) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic FilteredCollection(Collection<T> coll, UnaryFunction<Boolean,T> filter)
public FilteredCollection(Iterable<T> coll, UnaryFunction<Boolean,T> filter)
public FilteredCollection(T[] coll, UnaryFunction<Boolean,T> filter)
public static <X> Iterable<X> filter(Iterable<X> coll, UnaryFunction<Boolean,X> filter)
X - coll - filter - public static <X> Iterable<X> filter(X[] coll, UnaryFunction<Boolean,X> filter)
public static <X> List<X> listFilter(Iterable<X> coll, UnaryFunction<Boolean,X> filter)
X - Y - coll - mapper - public static <X> List<X> listFilter(X[] coll, UnaryFunction<Boolean,X> filter)
public static void main(String[] args)
Copyright © 2019. All rights reserved.