Package aQute.lib.collections
Class Iterables
java.lang.Object
aQute.lib.collections.Iterables
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
(package private) static final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Iterable<T>
static <T,
R> Iterable<R> distinct
(Set<? extends T> first, Iterable<? extends T> second, Function<? super T, ? extends R> mapper) static <T,
R> Iterable<R> distinct
(Set<? extends T> first, Iterable<? extends T> second, Function<? super T, ? extends R> mapper, Predicate<? super R> filter) static <T> Iterable<T>
iterable
(Enumeration<? extends T> enumeration) static <T,
R> Iterable<R> iterable
(Enumeration<? extends T> enumeration, Function<? super T, ? extends R> mapper) static <T,
R> Iterable<R> iterable
(Enumeration<? extends T> enumeration, Function<? super T, ? extends R> mapper, Predicate<? super R> filter)
-
Constructor Details
-
Iterables
private Iterables()
-
-
Method Details
-
distinct
-
distinct
-
distinct
-
iterable
-
iterable
public static <T,R> Iterable<R> iterable(Enumeration<? extends T> enumeration, Function<? super T, ? extends R> mapper) -
iterable
public static <T,R> Iterable<R> iterable(Enumeration<? extends T> enumeration, Function<? super T, ? extends R> mapper, Predicate<? super R> filter)
-