Package aQute.lib.collections
Class Iterables
java.lang.Object
aQute.lib.collections.Iterables
-
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)
-
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)
-