Class Iterables
- java.lang.Object
-
- com.ulisesbocchio.jasyptspringboot.util.Iterables
-
public class Iterables extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIterables.IterableDecorator<U,T>static classIterables.IteratorDecorator<U,T>
-
Constructor Summary
Constructors Constructor Description Iterables()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <U,T>
Iterables.IterableDecorator<U,T>decorate(Iterable<U> source, Function<U,T> transform, Predicate<U> filter)static <T> Iterables.IterableDecorator<T,T>filter(Iterable<T> source, Predicate<T> filter)static <U,T>
Iterables.IterableDecorator<U,T>transform(Iterable<U> source, Function<U,T> transform)
-
-
-
Method Detail
-
decorate
public static <U,T> Iterables.IterableDecorator<U,T> decorate(Iterable<U> source, Function<U,T> transform, Predicate<U> filter)
-
transform
public static <U,T> Iterables.IterableDecorator<U,T> transform(Iterable<U> source, Function<U,T> transform)
-
filter
public static <T> Iterables.IterableDecorator<T,T> filter(Iterable<T> source, Predicate<T> filter)
-
-