All Methods Instance Methods Default Methods
Modifier and Type |
Method and Description |
default org.jooq.lambda.Seq<T> |
seq() |
default ReactiveSeq<T> |
stream() |
default java.util.concurrent.CompletableFuture<ListX<T>> |
toCompletableFuture()
CompletableFuture<List<String>> cf = anyM("hello","world")
.asSequence()
.unwrapCompletableFuture();
assertThat(cf.join(),equalTo(Arrays.asList("hello","world")));
|
default DequeX<T> |
toDequeX() |
default Eval<ListX<T>> |
toEvalAlways() |
default Eval<ListX<T>> |
toEvalLater() |
default Eval<ListX<T>> |
toEvalNow() |
default LazyFutureStream<T> |
toFutureStream() |
default LazyFutureStream<T> |
toFutureStream(LazyReact reactor) |
default FutureW<ListX<T>> |
toFutureW() |
default Ior<?,ListX<T>> |
toIor() |
default Ior<ListX<T>,?> |
toIorSecondary() |
default ListX<T> |
toListX() |
default <K,V> MapX<K,V> |
toMapX(java.util.function.Function<? super T,? extends K> keyMapper,
java.util.function.Function<? super T,? extends V> valueMapper) |
default Maybe<ListX<T>> |
toMaybe() |
default java.util.Optional<ListX<T>> |
toOptional()
Optional<List<String>> stream = anyM("hello","world")
.asSequence()
.unwrapOptional();
assertThat(stream.get(),equalTo(Arrays.asList("hello","world")));
|
default PBagX<T> |
toPBagX() |
default <K,V> PMapX<K,V> |
toPMapX(java.util.function.Function<? super T,? extends K> keyMapper,
java.util.function.Function<? super T,? extends V> valueMapper) |
default POrderedSetX<T> |
toPOrderedSetX() |
default PQueueX<T> |
toPQueueX() |
default PSetX<T> |
toPSetX() |
default PStackX<T> |
toPStackX() |
default PVectorX<T> |
toPVectorX() |
default QueueX<T> |
toQueueX() |
default SetX<T> |
toSetX() |
default SimpleReactStream<T> |
toSimpleReact() |
default SimpleReactStream<T> |
toSimpleReact(SimpleReact reactor) |
default SortedSetX<T> |
toSortedSetX() |
default Streamable<T> |
toStreamable() |
default Try<ListX<T>,java.lang.Throwable> |
toTry() |
default Value<ListX<T>> |
toValue() |
default <K,V> Value<MapX<K,V>> |
toValueMap(java.util.function.Function<? super T,? extends K> keyMapper,
java.util.function.Function<? super T,? extends V> valueMapper) |
default Value<SetX<T>> |
toValueSet() |
default Xor<?,ListX<T>> |
toXor() |
default Xor<ListX<T>,?> |
toXorSecondary() |