public class StreamableAdapter extends AbstractFunctionalAdapter<Witness.streamable>
FunctionalAdapter.ValueIterator<T>| Modifier and Type | Field and Description |
|---|---|
static StreamableAdapter |
streamable |
| Constructor and Description |
|---|
StreamableAdapter() |
| Modifier and Type | Method and Description |
|---|---|
<T,R> AnyM<Witness.streamable,R> |
ap(AnyM<Witness.streamable,? extends java.util.function.Function<? super T,? extends R>> fn,
AnyM<Witness.streamable,T> apply) |
<T> AnyM<Witness.streamable,T> |
empty() |
<T> AnyM<Witness.streamable,T> |
filter(AnyM<Witness.streamable,T> t,
java.util.function.Predicate<? super T> fn) |
<T,R> AnyM<Witness.streamable,R> |
flatMap(AnyM<Witness.streamable,T> t,
java.util.function.Function<? super T,? extends AnyM<Witness.streamable,? extends R>> fn) |
<T,R> AnyM<Witness.streamable,R> |
map(AnyM<Witness.streamable,T> t,
java.util.function.Function<? super T,? extends R> fn) |
<T> java.lang.Iterable<T> |
toIterable(AnyM<Witness.streamable,T> t) |
<T> AnyM<Witness.streamable,T> |
unit(T o) |
<T> AnyM<Witness.streamable,T> |
unitIterable(java.lang.Iterable<T> it) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitap2, isFilterable, toStream, visitpublic static final StreamableAdapter streamable
public <T> java.lang.Iterable<T> toIterable(AnyM<Witness.streamable,T> t)
public <T> AnyM<Witness.streamable,T> filter(AnyM<Witness.streamable,T> t, java.util.function.Predicate<? super T> fn)
public <T> AnyM<Witness.streamable,T> empty()
public <T,R> AnyM<Witness.streamable,R> ap(AnyM<Witness.streamable,? extends java.util.function.Function<? super T,? extends R>> fn, AnyM<Witness.streamable,T> apply)
ap in interface FunctionalAdapter<Witness.streamable>ap in class AbstractFunctionalAdapter<Witness.streamable>public <T,R> AnyM<Witness.streamable,R> flatMap(AnyM<Witness.streamable,T> t, java.util.function.Function<? super T,? extends AnyM<Witness.streamable,? extends R>> fn)
flatMap in interface FunctionalAdapter<Witness.streamable>flatMap in class AbstractFunctionalAdapter<Witness.streamable>public <T> AnyM<Witness.streamable,T> unitIterable(java.lang.Iterable<T> it)
unitIterable in interface FunctionalAdapter<Witness.streamable>unitIterable in class AbstractFunctionalAdapter<Witness.streamable>public <T> AnyM<Witness.streamable,T> unit(T o)
public <T,R> AnyM<Witness.streamable,R> map(AnyM<Witness.streamable,T> t, java.util.function.Function<? super T,? extends R> fn)
map in interface FunctionalAdapter<Witness.streamable>map in class AbstractFunctionalAdapter<Witness.streamable>