Class Iterables

java.lang.Object
aQute.lib.collections.Iterables

public class Iterables extends Object
  • Constructor Details

    • Iterables

      private Iterables()
  • Method Details

    • distinct

      public static <T> Iterable<T> distinct(Set<? extends T> first, Iterable<? extends T> second)
    • distinct

      public static <T, R> Iterable<R> distinct(Set<? extends T> first, Iterable<? extends T> second, Function<? super T,? extends R> mapper)
    • distinct

      public static <T, R> Iterable<R> distinct(Set<? extends T> first, Iterable<? extends T> second, Function<? super T,? extends R> mapper, Predicate<? super R> filter)
    • iterable

      public static <T> Iterable<T> iterable(Enumeration<? extends T> enumeration)
    • 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)