Package org.comroid.mutatio.pipe
Interface StageAdapter<O,T>
-
- All Superinterfaces:
java.util.function.Function<O,T>,java.util.function.Predicate<O>
public interface StageAdapter<O,T> extends java.util.function.Function<O,T>, java.util.function.Predicate<O>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStageAdapter.Support
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default Tapply(O other)static <T> StageAdapter<T,T>distinct()static <T> StageAdapter<T,T>filter(java.util.function.Predicate<? super T> predicate)static <O,T>
StageAdapter<O,T>flatMap(java.util.function.Function<? super O,? extends Reference<? extends T>> mapper)static <T> StageAdapter<T,T>limit(long limit)static <O,T>
StageAdapter<O,T>map(java.util.function.Function<? super O,? extends T> mapper)static <T> StageAdapter<T,T>peek(java.util.function.Consumer<? super T> action)static <T> StageAdapter<T,T>skip(long skip)default booleantest(O other)
-
-
-
Method Detail
-
filter
static <T> StageAdapter<T,T> filter(java.util.function.Predicate<? super T> predicate)
-
map
static <O,T> StageAdapter<O,T> map(java.util.function.Function<? super O,? extends T> mapper)
-
flatMap
static <O,T> StageAdapter<O,T> flatMap(java.util.function.Function<? super O,? extends Reference<? extends T>> mapper)
-
distinct
static <T> StageAdapter<T,T> distinct()
-
peek
static <T> StageAdapter<T,T> peek(java.util.function.Consumer<? super T> action)
-
limit
static <T> StageAdapter<T,T> limit(long limit)
-
skip
static <T> StageAdapter<T,T> skip(long skip)
-
-