T - the type of elements held in this collectionpublic class LazyPStackX<T> extends AbstractFluentCollectionX<T> implements com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>
List
This makes use of PStack (@see org.pcollections.PStack) from PCollectons. PStack is a persistent analogue of the
imperative LinkedList type.
Extended List operations execute lazily (compared with @see com.aol.cyclops.data.collections.extensions.persistent.PStackX) e.g.
LazyPStackX<Integer> q = LazyPStackX.of(1,2,3)
.map(i->i*2);
The map operation above is not executed immediately. It will only be executed when (if) the data inside the
PStack is accessed. This allows lazy operations to be chained and executed more efficiently e.g.
LazyPStackX<Integer> q = LazyPStackX.of(1,2,3)
.map(i->i*2);
.filter(i->i<5);
The operation above is more efficient than the equivalent operation with a PStackX.AbstractFluentCollectionX.LazyCollection<T,C extends java.util.Collection<T>>, AbstractFluentCollectionX.PersistentLazyCollection<T,C extends java.util.Collection<T>>| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T element) |
boolean |
add(T e) |
boolean |
addAll(java.util.Collection<? extends T> c) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
<U> LazyPStackX<U> |
cast(java.lang.Class<? extends U> type) |
void |
clear() |
<R,A> R |
collect(java.util.stream.Collector<? super T,A,R> collector) |
LazyPStackX<com.aol.cyclops.control.ReactiveSeq<T>> |
combinations() |
LazyPStackX<com.aol.cyclops.control.ReactiveSeq<T>> |
combinations(int size) |
LazyPStackX<T> |
combine(java.util.function.BiPredicate<? super T,? super T> predicate,
java.util.function.BinaryOperator<T> op) |
boolean |
contains(java.lang.Object e) |
boolean |
containsAll(java.util.Collection<?> c) |
long |
count() |
LazyPStackX<T> |
cycle(int times) |
LazyPStackX<T> |
cycle(com.aol.cyclops.Monoid<T> m,
int times) |
LazyPStackX<T> |
cycleUntil(java.util.function.Predicate<? super T> predicate) |
LazyPStackX<T> |
cycleWhile(java.util.function.Predicate<? super T> predicate) |
LazyPStackX<T> |
distinct() |
LazyPStackX<T> |
dropRight(int num) |
LazyPStackX<T> |
dropUntil(java.util.function.Predicate<? super T> p) |
LazyPStackX<T> |
dropWhile(java.util.function.Predicate<? super T> p) |
LazyPStackX<T> |
efficientOpsOff() |
LazyPStackX<T> |
efficientOpsOn() |
static <T> LazyPStackX<T> |
empty() |
<R> LazyPStackX<R> |
emptyUnit() |
boolean |
equals(java.lang.Object o) |
LazyPStackX<T> |
filter(java.util.function.Predicate<? super T> pred) |
LazyPStackX<T> |
filterNot(java.util.function.Predicate<? super T> fn) |
<R> LazyPStackX<R> |
flatMap(java.util.function.Function<? super T,? extends java.lang.Iterable<? extends R>> mapper) |
reactor.core.publisher.Flux<T> |
flux()
Convert this type to a Reactor Flux
|
void |
forEach(java.util.function.Consumer<? super T> action) |
<X> LazyPStackX<X> |
from(java.util.Collection<X> col) |
static <T> LazyPStackX<T> |
fromIterable(java.lang.Iterable<T> it)
Construct LazyPStackX from an Iterable
|
static <T> LazyPStackX<T> |
fromIterable(com.aol.cyclops.Reducer<org.pcollections.PStack<T>> collector,
java.lang.Iterable<T> it)
Construct a LazyPStackX from an Iterable, using the specified Collector.
|
static <T> LazyPStackX<T> |
fromPublisher(org.reactivestreams.Publisher<? extends T> publisher)
Construct a LazyPStackX from an Publisher
|
static <T> LazyPStackX<T> |
fromStreamS(java.util.stream.Stream<T> stream)
Create a LazyPStackX from a Stream
|
static <T> LazyPStackX<T> |
generate(long limit,
java.util.function.Supplier<T> s)
Generate a LazyPStackX from the provided Supplier up to the provided limit number of times
|
T |
get(int index) |
<K> LazyPStackX<org.jooq.lambda.tuple.Tuple2<K,org.jooq.lambda.Seq<T>>> |
grouped(java.util.function.Function<? super T,? extends K> classifier) |
<K,A,D> LazyPStackX<org.jooq.lambda.tuple.Tuple2<K,D>> |
grouped(java.util.function.Function<? super T,? extends K> classifier,
java.util.stream.Collector<? super T,A,D> downstream) |
LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> |
grouped(int groupSize) |
<C extends java.util.Collection<? super T>> |
grouped(int size,
java.util.function.Supplier<C> supplier) |
LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> |
groupedStatefullyUntil(java.util.function.BiPredicate<com.aol.cyclops.data.collections.extensions.standard.ListX<? super T>,? super T> predicate) |
LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> |
groupedUntil(java.util.function.Predicate<? super T> predicate) |
<C extends java.util.Collection<? super T>> |
groupedUntil(java.util.function.Predicate<? super T> predicate,
java.util.function.Supplier<C> factory) |
LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> |
groupedWhile(java.util.function.Predicate<? super T> predicate) |
<C extends java.util.Collection<? super T>> |
groupedWhile(java.util.function.Predicate<? super T> predicate,
java.util.function.Supplier<C> factory) |
int |
hashCode() |
int |
indexOf(java.lang.Object o) |
LazyPStackX<T> |
intersperse(T value) |
boolean |
isEmpty() |
static <T> LazyPStackX<T> |
iterate(long limit,
T seed,
java.util.function.UnaryOperator<T> f)
Create a LazyPStackX by iterative application of a function to an initial element up to the supplied limit number of times
|
java.util.Iterator<T> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
static <T> java.util.stream.Collector<T,?,LazyPStackX<T>> |
lazyListXCollector() |
LazyPStackX<T> |
limit(long num) |
LazyPStackX<T> |
limitLast(int num) |
LazyPStackX<T> |
limitUntil(java.util.function.Predicate<? super T> p) |
LazyPStackX<T> |
limitWhile(java.util.function.Predicate<? super T> p) |
java.util.ListIterator<T> |
listIterator() |
java.util.ListIterator<T> |
listIterator(int index) |
<R> LazyPStackX<R> |
map(java.util.function.Function<? super T,? extends R> mapper) |
LazyPStackX<T> |
minus(int i) |
LazyPStackX<T> |
minus(java.lang.Object e) |
LazyPStackX<T> |
minusAll(java.util.Collection<?> list) |
LazyPStackX<T> |
minusAllLazy(java.util.Collection<?> list)
Lazily remove the elements in the supplied Collection from this Collection.
|
LazyPStackX<T> |
minusLazy(java.lang.Object e)
Lazily remove an element from this Collection.
|
<T> com.aol.cyclops.Reducer<org.pcollections.PStack<T>> |
monoid() |
LazyPStackX<T> |
notNull() |
static <T> LazyPStackX<T> |
of(T... values)
Create a LazyPStackX from the specified values
|
<U> LazyPStackX<U> |
ofType(java.lang.Class<? extends U> type) |
LazyPStackX<T> |
onEmpty(T value) |
LazyPStackX<T> |
onEmptyGet(java.util.function.Supplier<? extends T> supplier) |
LazyPStackX<T> |
onEmptySwitch(java.util.function.Supplier<? extends org.pcollections.PStack<T>> supplier) |
<X extends java.lang.Throwable> |
onEmptyThrow(java.util.function.Supplier<? extends X> supplier) |
java.util.stream.Stream<T> |
parallelStream() |
<R> LazyPStackX<R> |
patternMatch(java.util.function.Function<com.aol.cyclops.control.Matchable.CheckValue1<T,R>,com.aol.cyclops.control.Matchable.CheckValue1<T,R>> case1,
java.util.function.Supplier<? extends R> otherwise) |
LazyPStackX<T> |
peek(java.util.function.Consumer<? super T> c) |
LazyPStackX<com.aol.cyclops.control.ReactiveSeq<T>> |
permutations() |
LazyPStackX<T> |
plus(int i,
T e) |
LazyPStackX<T> |
plus(T e) |
LazyPStackX<T> |
plusAll(java.util.Collection<? extends T> list) |
LazyPStackX<T> |
plusAll(int i,
java.util.Collection<? extends T> list) |
LazyPStackX<T> |
plusAllLazy(java.util.Collection<? extends T> list)
Lazily add all the elements in the supplied Collection to this Collection.
|
LazyPStackX<T> |
plusInOrder(T e) |
LazyPStackX<T> |
plusLazy(T e)
Lazily add an element to this Collection.
|
static LazyPStackX<java.lang.Integer> |
range(int start,
int end)
Create a LazyPStackX that contains the Integers between start and end
|
static LazyPStackX<java.lang.Long> |
rangeLong(long start,
long end)
Create a LazyPStackX that contains the Longs between start and end
|
T |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
LazyPStackX<T> |
removeAll(java.lang.Iterable<? extends T> it) |
LazyPStackX<T> |
removeAll(org.jooq.lambda.Seq<? extends T> stream) |
LazyPStackX<T> |
removeAll(java.util.stream.Stream<? extends T> stream) |
LazyPStackX<T> |
removeAll(T... values) |
boolean |
removeIf(java.util.function.Predicate<? super T> filter) |
void |
replaceAll(java.util.function.UnaryOperator<T> operator) |
boolean |
retainAll(java.util.Collection<?> c) |
LazyPStackX<T> |
retainAll(java.lang.Iterable<? extends T> it) |
LazyPStackX<T> |
retainAll(org.jooq.lambda.Seq<? extends T> stream) |
LazyPStackX<T> |
retainAll(java.util.stream.Stream<? extends T> stream) |
LazyPStackX<T> |
retainAll(T... values) |
LazyPStackX<T> |
reverse() |
LazyPStackX<T> |
scanLeft(com.aol.cyclops.Monoid<T> monoid) |
<U> LazyPStackX<U> |
scanLeft(U seed,
java.util.function.BiFunction<? super U,? super T,? extends U> function) |
LazyPStackX<T> |
scanRight(com.aol.cyclops.Monoid<T> monoid) |
<U> LazyPStackX<U> |
scanRight(U identity,
java.util.function.BiFunction<? super T,? super U,? extends U> combiner) |
T |
set(int index,
T element) |
LazyPStackX<T> |
shuffle() |
LazyPStackX<T> |
shuffle(java.util.Random random) |
static <T> LazyPStackX<T> |
singleton(T value)
Construct a LazyPStackX with a single value
|
int |
size() |
LazyPStackX<T> |
skip(long num) |
LazyPStackX<T> |
skipLast(int num) |
LazyPStackX<T> |
skipUntil(java.util.function.Predicate<? super T> p) |
LazyPStackX<T> |
skipWhile(java.util.function.Predicate<? super T> p) |
LazyPStackX<T> |
slice(long from,
long to) |
LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> |
sliding(int windowSize) |
LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> |
sliding(int windowSize,
int increment) |
void |
sort(java.util.Comparator<? super T> c) |
LazyPStackX<T> |
sorted() |
LazyPStackX<T> |
sorted(java.util.Comparator<? super T> c) |
<U extends java.lang.Comparable<? super U>> |
sorted(java.util.function.Function<? super T,? extends U> function) |
java.util.Spliterator<T> |
spliterator() |
com.aol.cyclops.control.ReactiveSeq<T> |
stream() |
<X> LazyPStackX<X> |
stream(reactor.core.publisher.Flux<X> stream)
Create a LazyFluentCollection from a Flux.
|
LazyPStackX<T> |
subList(int start) |
LazyPStackX<T> |
subList(int fromIndex,
int toIndex) |
LazyPStackX<T> |
takeRight(int num) |
LazyPStackX<T> |
takeUntil(java.util.function.Predicate<? super T> p) |
LazyPStackX<T> |
takeWhile(java.util.function.Predicate<? super T> p) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
LazyPStackX<T> |
toPStack() |
java.lang.String |
toString() |
<R> LazyPStackX<R> |
trampoline(java.util.function.Function<? super T,? extends com.aol.cyclops.control.Trampoline<? extends R>> mapper) |
static <U,T> LazyPStackX<T> |
unfold(U seed,
java.util.function.Function<? super U,java.util.Optional<org.jooq.lambda.tuple.Tuple2<T,U>>> unfolder)
Unfold a function into a ListX
|
<R> LazyPStackX<R> |
unit(java.util.Collection<R> col) |
<R> LazyPStackX<R> |
unit(R value) |
<R> LazyPStackX<R> |
unitIterator(java.util.Iterator<R> it) |
LazyPStackX<T> |
with(int i,
T element)
PStackX methods
|
<T2,R> LazyPStackX<R> |
zip(java.util.function.BiFunction<? super T,? super T2,? extends R> fn,
org.reactivestreams.Publisher<? extends T2> publisher) |
<U> LazyPStackX<org.jooq.lambda.tuple.Tuple2<T,U>> |
zip(java.lang.Iterable<? extends U> other) |
<U,R> LazyPStackX<R> |
zip(java.lang.Iterable<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends R> zipper) |
<U> LazyPStackX<org.jooq.lambda.tuple.Tuple2<T,U>> |
zip(org.jooq.lambda.Seq<? extends U> other) |
<U,R> LazyPStackX<R> |
zip(org.jooq.lambda.Seq<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends R> zipper) |
<U> LazyPStackX<org.jooq.lambda.tuple.Tuple2<T,U>> |
zip(java.util.stream.Stream<? extends U> other) |
<U,R> LazyPStackX<R> |
zip(java.util.stream.Stream<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends R> zipper) |
<S,U> LazyPStackX<org.jooq.lambda.tuple.Tuple3<T,S,U>> |
zip3(java.util.stream.Stream<? extends S> second,
java.util.stream.Stream<? extends U> third) |
<T2,T3,T4> LazyPStackX<org.jooq.lambda.tuple.Tuple4<T,T2,T3,T4>> |
zip4(java.util.stream.Stream<? extends T2> second,
java.util.stream.Stream<? extends T3> third,
java.util.stream.Stream<? extends T4> fourth) |
LazyPStackX<org.jooq.lambda.tuple.Tuple2<T,java.lang.Long>> |
zipWithIndex() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitfromCollection, fromStream, isEfficientOps, toPStackXcollectable, findAny, findFirst, forEach2, forEach2, forEach3, forEach3, getAtIndex, groupBy, head, headAndTail, single, single, singleOptionalgroupedStatefullyUntilT, groupedT, groupedUntilT, groupedWhileT, slidingT, slidingTap1, ap2, ap3, ap4, ap5, applicativesallMatch, anyMatch, avg, avg, avgDouble, avgInt, avgLong, bitAnd, bitAnd, bitAndInt, bitAndLong, bitOr, bitOr, bitOrInt, bitOrLong, commonPrefix, commonSuffix, count, countDistinct, countDistinct, countDistinctBy, countDistinctBy, max, max, max, max, maxAll, maxAll, maxAll, maxAll, maxAllBy, maxAllBy, maxBy, maxBy, median, median, medianBy, medianBy, min, min, min, min, minAll, minAll, minAll, minAll, minAllBy, minAllBy, minBy, minBy, mode, modeAll, modeAllBy, modeBy, noneMatch, percentile, percentile, percentileBy, percentileBy, sum, sum, sumDouble, sumInt, sumLong, toCollection, toList, toList, toMap, toMap, toSet, toSet, toString, toStringcollect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collectmonopublic LazyPStackX<T> efficientOpsOn()
efficientOpsOn in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>public LazyPStackX<T> efficientOpsOff()
efficientOpsOff in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>public static <T> LazyPStackX<T> fromStreamS(java.util.stream.Stream<T> stream)
stream - to construct a LazyQueueX frompublic static LazyPStackX<java.lang.Integer> range(int start, int end)
range in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>start - Number of range to start fromend - Number for range to end atpublic static LazyPStackX<java.lang.Long> rangeLong(long start, long end)
rangeLong in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>start - Number of range to start fromend - Number for range to end atpublic static <U,T> LazyPStackX<T> unfold(U seed, java.util.function.Function<? super U,java.util.Optional<org.jooq.lambda.tuple.Tuple2<T,U>>> unfolder)
LazyPStackX.unfold(1,i->i<=6 ? Optional.of(Tuple.tuple(i,i+1)) : Optional.empty());
//(1,2,3,4,5)
unfold in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>seed - Initial valueunfolder - Iteratively applied function, terminated by an empty Optionalpublic static <T> LazyPStackX<T> generate(long limit, java.util.function.Supplier<T> s)
generate in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>limit - Max number of elements to generates - Supplier to generate ListX elementspublic static <T> LazyPStackX<T> iterate(long limit, T seed, java.util.function.UnaryOperator<T> f)
iterate in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>limit - Max number of elements to generateseed - Initial elementf - Iteratively applied to each element to generate the next elementpublic static <T> java.util.stream.Collector<T,?,LazyPStackX<T>> lazyListXCollector()
public static <T> LazyPStackX<T> empty()
empty in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>@SafeVarargs public static <T> LazyPStackX<T> of(T... values)
ListX<Integer> lazy = LazyPStackX.of(1,2,3,4,5);
//lazily map List
ListX<String> mapped = lazy.map(i->"mapped " +i);
String value = mapped.get(0); //transformation triggered now
of in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>values - To populate LazyPStackX withpublic static <T> LazyPStackX<T> singleton(T value)
ListX<Integer> lazy = LazyPStackX.singleton(5);
singleton in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>value - To populate LazyPStackX withpublic static <T> LazyPStackX<T> fromPublisher(org.reactivestreams.Publisher<? extends T> publisher)
fromPublisher in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>publisher - to construct LazyPStackX frompublic static <T> LazyPStackX<T> fromIterable(java.lang.Iterable<T> it)
fromIterable in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>it - to construct LazyPStackX frompublic static <T> LazyPStackX<T> fromIterable(com.aol.cyclops.Reducer<org.pcollections.PStack<T>> collector, java.lang.Iterable<T> it)
collector - To generate Lists from, this can be used to create mutable vs immutable Lists (for example), or control List type (ArrayList, LinkedList)it - Iterable to construct LazyPStackX frompublic void forEach(java.util.function.Consumer<? super T> action)
forEach in interface java.lang.Iterable<T>public java.util.Iterator<T> iterator()
public int size()
public boolean contains(java.lang.Object e)
public boolean equals(java.lang.Object o)
public boolean isEmpty()
public int hashCode()
public java.lang.Object[] toArray()
public boolean removeAll(java.util.Collection<?> c)
public <T> T[] toArray(T[] a)
public boolean add(T e)
public boolean remove(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean addAll(java.util.Collection<? extends T> c)
public boolean retainAll(java.util.Collection<?> c)
public void clear()
public java.lang.String toString()
toString in class java.lang.Objectpublic <R,A> R collect(java.util.stream.Collector<? super T,A,R> collector)
public long count()
public boolean addAll(int index,
java.util.Collection<? extends T> c)
public void replaceAll(java.util.function.UnaryOperator<T> operator)
replaceAll in interface java.util.List<T>public boolean removeIf(java.util.function.Predicate<? super T> filter)
removeIf in interface java.util.Collection<T>public void sort(java.util.Comparator<? super T> c)
sort in interface java.util.List<T>public void add(int index,
T element)
public T remove(int index)
public java.util.stream.Stream<T> parallelStream()
parallelStream in interface java.util.Collection<T>public int indexOf(java.lang.Object o)
indexOf in interface java.util.List<T>public int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.List<T>public java.util.ListIterator<T> listIterator()
listIterator in interface java.util.List<T>public java.util.ListIterator<T> listIterator(int index)
listIterator in interface java.util.List<T>public LazyPStackX<T> subList(int fromIndex, int toIndex)
subList in interface com.aol.cyclops.data.collections.extensions.FluentSequenceX<T>subList in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>subList in interface java.util.List<T>subList in interface org.pcollections.PSequence<T>subList in interface org.pcollections.PStack<T>public java.util.Spliterator<T> spliterator()
public <X> LazyPStackX<X> stream(reactor.core.publisher.Flux<X> stream)
LazyFluentCollectionX
LazyListX<Integer> lazyInts = LazyListX.of(1,2,3);
LazyListX<String> lazyStrs = lazyInts.stream(Flux.just("hello","world"));
Calling stream(Flux) on a LazySetX results in a LazySetX etc.
The same collection / reduction method will be used in the newly created Object. I.e. Calling stream(Flux) on
a collection which as an Immutable Collector will result in an Immutable Collection.stream in interface LazyFluentCollectionX<T>stream in class AbstractFluentCollectionX<T>stream - Flux to create new collection frompublic reactor.core.publisher.Flux<T> flux()
ReactorConvertableflux in interface ReactorConvertable<T>flux in class AbstractFluentCollectionX<T>public LazyPStackX<T> combine(java.util.function.BiPredicate<? super T,? super T> predicate, java.util.function.BinaryOperator<T> op)
combine in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>combine in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>combine in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>combine in interface com.aol.cyclops.types.Traversable<T>combine in class AbstractFluentCollectionX<T>public LazyPStackX<T> reverse()
reverse in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>reverse in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>reverse in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>reverse in interface com.aol.cyclops.types.Traversable<T>reverse in class AbstractFluentCollectionX<T>public LazyPStackX<T> filter(java.util.function.Predicate<? super T> pred)
filter in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>filter in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>filter in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>filter in interface com.aol.cyclops.types.Filterable<T>filter in class AbstractFluentCollectionX<T>public <R> LazyPStackX<R> map(java.util.function.Function<? super T,? extends R> mapper)
map in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>map in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>map in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>map in interface com.aol.cyclops.types.Functor<T>map in interface com.aol.cyclops.types.IterableFunctor<T>map in class AbstractFluentCollectionX<T>public <R> LazyPStackX<R> flatMap(java.util.function.Function<? super T,? extends java.lang.Iterable<? extends R>> mapper)
flatMap in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>flatMap in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>flatMap in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>flatMap in class AbstractFluentCollectionX<T>public LazyPStackX<T> limit(long num)
limit in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>limit in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>limit in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>limit in interface com.aol.cyclops.types.Traversable<T>limit in class AbstractFluentCollectionX<T>public LazyPStackX<T> skip(long num)
skip in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>skip in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>skip in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>skip in interface com.aol.cyclops.types.Traversable<T>skip in class AbstractFluentCollectionX<T>public LazyPStackX<T> takeRight(int num)
takeRight in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>takeRight in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>takeRight in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>takeRight in interface com.aol.cyclops.types.Traversable<T>takeRight in class AbstractFluentCollectionX<T>public LazyPStackX<T> dropRight(int num)
dropRight in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>dropRight in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>dropRight in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>dropRight in interface com.aol.cyclops.types.Traversable<T>dropRight in class AbstractFluentCollectionX<T>public LazyPStackX<T> takeWhile(java.util.function.Predicate<? super T> p)
takeWhile in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>takeWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>takeWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>takeWhile in interface com.aol.cyclops.types.Traversable<T>takeWhile in class AbstractFluentCollectionX<T>public LazyPStackX<T> dropWhile(java.util.function.Predicate<? super T> p)
dropWhile in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>dropWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>dropWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>dropWhile in interface com.aol.cyclops.types.Traversable<T>dropWhile in class AbstractFluentCollectionX<T>public LazyPStackX<T> takeUntil(java.util.function.Predicate<? super T> p)
takeUntil in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>takeUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>takeUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>takeUntil in interface com.aol.cyclops.types.Traversable<T>takeUntil in class AbstractFluentCollectionX<T>public LazyPStackX<T> dropUntil(java.util.function.Predicate<? super T> p)
dropUntil in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>dropUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>dropUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>dropUntil in interface com.aol.cyclops.types.Traversable<T>dropUntil in class AbstractFluentCollectionX<T>public <R> LazyPStackX<R> trampoline(java.util.function.Function<? super T,? extends com.aol.cyclops.control.Trampoline<? extends R>> mapper)
trampoline in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>trampoline in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>trampoline in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>trampoline in interface com.aol.cyclops.types.Functor<T>trampoline in class AbstractFluentCollectionX<T>public LazyPStackX<T> slice(long from, long to)
slice in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>slice in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>slice in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>slice in interface com.aol.cyclops.types.Traversable<T>slice in class AbstractFluentCollectionX<T>public LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> grouped(int groupSize)
grouped in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>grouped in interface com.aol.cyclops.types.Traversable<T>grouped in class AbstractFluentCollectionX<T>public <K,A,D> LazyPStackX<org.jooq.lambda.tuple.Tuple2<K,D>> grouped(java.util.function.Function<? super T,? extends K> classifier, java.util.stream.Collector<? super T,A,D> downstream)
grouped in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>grouped in interface com.aol.cyclops.types.Traversable<T>grouped in class AbstractFluentCollectionX<T>public <K> LazyPStackX<org.jooq.lambda.tuple.Tuple2<K,org.jooq.lambda.Seq<T>>> grouped(java.util.function.Function<? super T,? extends K> classifier)
grouped in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>grouped in interface com.aol.cyclops.types.Traversable<T>grouped in class AbstractFluentCollectionX<T>public <U> LazyPStackX<org.jooq.lambda.tuple.Tuple2<T,U>> zip(java.lang.Iterable<? extends U> other)
zip in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>zip in interface com.aol.cyclops.types.Traversable<T>zip in interface com.aol.cyclops.types.Zippable<T>zip in class AbstractFluentCollectionX<T>public <U,R> LazyPStackX<R> zip(java.lang.Iterable<? extends U> other, java.util.function.BiFunction<? super T,? super U,? extends R> zipper)
zip in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>zip in interface com.aol.cyclops.types.Traversable<T>zip in interface com.aol.cyclops.types.Zippable<T>zip in class AbstractFluentCollectionX<T>public LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> sliding(int windowSize)
sliding in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>sliding in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>sliding in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>sliding in interface com.aol.cyclops.types.Traversable<T>sliding in class AbstractFluentCollectionX<T>public LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> sliding(int windowSize, int increment)
sliding in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>sliding in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>sliding in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>sliding in interface com.aol.cyclops.types.Traversable<T>sliding in class AbstractFluentCollectionX<T>public LazyPStackX<T> scanLeft(com.aol.cyclops.Monoid<T> monoid)
scanLeft in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>scanLeft in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>scanLeft in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>scanLeft in interface com.aol.cyclops.types.Traversable<T>scanLeft in class AbstractFluentCollectionX<T>public <U> LazyPStackX<U> scanLeft(U seed, java.util.function.BiFunction<? super U,? super T,? extends U> function)
scanLeft in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>scanLeft in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>scanLeft in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>scanLeft in interface com.aol.cyclops.types.Traversable<T>scanLeft in class AbstractFluentCollectionX<T>public LazyPStackX<T> scanRight(com.aol.cyclops.Monoid<T> monoid)
scanRight in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>scanRight in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>scanRight in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>scanRight in interface com.aol.cyclops.types.Traversable<T>scanRight in class AbstractFluentCollectionX<T>public <U> LazyPStackX<U> scanRight(U identity, java.util.function.BiFunction<? super T,? super U,? extends U> combiner)
scanRight in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>scanRight in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>scanRight in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>scanRight in interface com.aol.cyclops.types.Traversable<T>scanRight in class AbstractFluentCollectionX<T>public <U extends java.lang.Comparable<? super U>> LazyPStackX<T> sorted(java.util.function.Function<? super T,? extends U> function)
sorted in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>sorted in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>sorted in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>sorted in interface com.aol.cyclops.types.Traversable<T>sorted in class AbstractFluentCollectionX<T>public LazyPStackX<T> plusLazy(T e)
LazyFluentCollectionXLazyFluentCollectionX.plus(Object)
LazyListX<Integer> lazy = LazyListX.of(1,2,3)
.map(i->i*2)
.plusLazy(5);
//Lazy List that will contain [2,4,6,5] when triggered
plusLazy in interface LazyFluentCollectionX<T>plusLazy in class AbstractFluentCollectionX<T>e - Element to addpublic LazyPStackX<T> plusAllLazy(java.util.Collection<? extends T> list)
LazyFluentCollectionXLazyFluentCollectionX#plusAll(Object)
LazyListX<Integer> lazy = LazyListX.of(1,2,3)
.map(i->i*2)
.plusAllLazy(ListX.of(5,10));
//Lazy List that will contain [2,4,6,5,10] when triggered
plusAllLazy in interface LazyFluentCollectionX<T>plusAllLazy in class AbstractFluentCollectionX<T>list - Collection to addpublic LazyPStackX<T> minusLazy(java.lang.Object e)
LazyFluentCollectionXLazyFluentCollectionX.minus(Object)
LazyListX<Integer> lazy = LazyListX.of(1,2,3)
.map(i->i*2)
.minusLazy(4);
//Lazy List that will contain [2,6] when triggered
This is an equivalent operation to filtering by equality e.g.
LazyListX<Integer> lazy = LazyListX.of(1,2,3)
.map(i->i*2)
.filter(i->i==4);
//Lazy List that will contain [2,6] when triggered
minusLazy in interface LazyFluentCollectionX<T>minusLazy in class AbstractFluentCollectionX<T>e - Element to removepublic LazyPStackX<T> minusAllLazy(java.util.Collection<?> list)
LazyFluentCollectionXLazyFluentCollectionX.minusAll(Collection)
LazyListX<Integer> lazy = LazyListX.of(1,2,3)
.map(i->i*2)
.minusAllLazy(ListX.of(4));
//Lazy List that will contain [2,6] when triggered
This is an equivalent operation to filtering by equality e.g.
LazyListX<Integer> lazy = LazyListX.of(1,2,3)
.map(i->i*2)
.filter(i->ListX.of(4).contains(i));
//Lazy List that will contain [2,6] when triggered
minusAllLazy in interface LazyFluentCollectionX<T>minusAllLazy in class AbstractFluentCollectionX<T>list - of elements to removepublic LazyPStackX<T> cycle(int times)
cycle in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>cycle in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>cycle in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>cycle in interface com.aol.cyclops.types.Traversable<T>cycle in class AbstractFluentCollectionX<T>public LazyPStackX<T> cycle(com.aol.cyclops.Monoid<T> m, int times)
cycle in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>cycle in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>cycle in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>cycle in interface com.aol.cyclops.types.Traversable<T>cycle in class AbstractFluentCollectionX<T>public LazyPStackX<T> cycleWhile(java.util.function.Predicate<? super T> predicate)
cycleWhile in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>cycleWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>cycleWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>cycleWhile in interface com.aol.cyclops.types.Traversable<T>cycleWhile in class AbstractFluentCollectionX<T>public LazyPStackX<T> cycleUntil(java.util.function.Predicate<? super T> predicate)
cycleUntil in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>cycleUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>cycleUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>cycleUntil in interface com.aol.cyclops.types.Traversable<T>cycleUntil in class AbstractFluentCollectionX<T>public <U> LazyPStackX<org.jooq.lambda.tuple.Tuple2<T,U>> zip(org.jooq.lambda.Seq<? extends U> other)
zip in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>zip in interface com.aol.cyclops.types.Traversable<T>zip in interface com.aol.cyclops.types.Zippable<T>zip in class AbstractFluentCollectionX<T>public <S,U> LazyPStackX<org.jooq.lambda.tuple.Tuple3<T,S,U>> zip3(java.util.stream.Stream<? extends S> second, java.util.stream.Stream<? extends U> third)
zip3 in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>zip3 in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>zip3 in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>zip3 in interface com.aol.cyclops.types.Traversable<T>zip3 in class AbstractFluentCollectionX<T>public <T2,T3,T4> LazyPStackX<org.jooq.lambda.tuple.Tuple4<T,T2,T3,T4>> zip4(java.util.stream.Stream<? extends T2> second, java.util.stream.Stream<? extends T3> third, java.util.stream.Stream<? extends T4> fourth)
zip4 in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>zip4 in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>zip4 in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>zip4 in interface com.aol.cyclops.types.Traversable<T>zip4 in class AbstractFluentCollectionX<T>public LazyPStackX<org.jooq.lambda.tuple.Tuple2<T,java.lang.Long>> zipWithIndex()
zipWithIndex in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>zipWithIndex in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>zipWithIndex in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>zipWithIndex in interface com.aol.cyclops.types.Traversable<T>zipWithIndex in class AbstractFluentCollectionX<T>public LazyPStackX<T> distinct()
distinct in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>distinct in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>distinct in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>distinct in interface com.aol.cyclops.types.Traversable<T>distinct in class AbstractFluentCollectionX<T>public LazyPStackX<T> sorted()
sorted in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>sorted in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>sorted in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>sorted in interface com.aol.cyclops.types.Traversable<T>sorted in class AbstractFluentCollectionX<T>public LazyPStackX<T> sorted(java.util.Comparator<? super T> c)
sorted in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>sorted in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>sorted in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>sorted in interface com.aol.cyclops.types.Traversable<T>sorted in class AbstractFluentCollectionX<T>public LazyPStackX<T> skipWhile(java.util.function.Predicate<? super T> p)
skipWhile in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>skipWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>skipWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>skipWhile in interface com.aol.cyclops.types.Traversable<T>skipWhile in class AbstractFluentCollectionX<T>public LazyPStackX<T> skipUntil(java.util.function.Predicate<? super T> p)
skipUntil in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>skipUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>skipUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>skipUntil in interface com.aol.cyclops.types.Traversable<T>skipUntil in class AbstractFluentCollectionX<T>public LazyPStackX<T> limitWhile(java.util.function.Predicate<? super T> p)
limitWhile in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>limitWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>limitWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>limitWhile in interface com.aol.cyclops.types.Traversable<T>limitWhile in class AbstractFluentCollectionX<T>public LazyPStackX<T> limitUntil(java.util.function.Predicate<? super T> p)
limitUntil in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>limitUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>limitUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>limitUntil in interface com.aol.cyclops.types.Traversable<T>limitUntil in class AbstractFluentCollectionX<T>public LazyPStackX<T> intersperse(T value)
intersperse in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>intersperse in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>intersperse in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>intersperse in interface com.aol.cyclops.types.Traversable<T>intersperse in class AbstractFluentCollectionX<T>public LazyPStackX<T> shuffle()
shuffle in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>shuffle in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>shuffle in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>shuffle in interface com.aol.cyclops.types.Traversable<T>shuffle in class AbstractFluentCollectionX<T>public LazyPStackX<T> skipLast(int num)
skipLast in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>skipLast in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>skipLast in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>skipLast in interface com.aol.cyclops.types.Traversable<T>skipLast in class AbstractFluentCollectionX<T>public LazyPStackX<T> limitLast(int num)
limitLast in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>limitLast in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>limitLast in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>limitLast in interface com.aol.cyclops.types.Traversable<T>limitLast in class AbstractFluentCollectionX<T>public LazyPStackX<T> onEmpty(T value)
onEmpty in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>onEmpty in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>onEmpty in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>onEmpty in interface com.aol.cyclops.types.OnEmpty<T>onEmpty in interface com.aol.cyclops.types.Traversable<T>onEmpty in class AbstractFluentCollectionX<T>public LazyPStackX<T> onEmptyGet(java.util.function.Supplier<? extends T> supplier)
onEmptyGet in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>onEmptyGet in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>onEmptyGet in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>onEmptyGet in interface com.aol.cyclops.types.OnEmpty<T>onEmptyGet in interface com.aol.cyclops.types.Traversable<T>onEmptyGet in class AbstractFluentCollectionX<T>public <X extends java.lang.Throwable> LazyPStackX<T> onEmptyThrow(java.util.function.Supplier<? extends X> supplier)
onEmptyThrow in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>onEmptyThrow in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>onEmptyThrow in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>onEmptyThrow in interface com.aol.cyclops.types.OnEmpty<T>onEmptyThrow in interface com.aol.cyclops.types.Traversable<T>onEmptyThrow in class AbstractFluentCollectionX<T>public LazyPStackX<T> shuffle(java.util.Random random)
shuffle in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>shuffle in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>shuffle in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>shuffle in interface com.aol.cyclops.types.Traversable<T>shuffle in class AbstractFluentCollectionX<T>public <U> LazyPStackX<U> ofType(java.lang.Class<? extends U> type)
ofType in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>ofType in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>ofType in interface com.aol.cyclops.types.Filterable<T>ofType in class AbstractFluentCollectionX<T>public LazyPStackX<T> filterNot(java.util.function.Predicate<? super T> fn)
filterNot in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>filterNot in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>filterNot in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>filterNot in interface com.aol.cyclops.types.Filterable<T>filterNot in class AbstractFluentCollectionX<T>public LazyPStackX<T> notNull()
notNull in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>notNull in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>notNull in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>notNull in interface com.aol.cyclops.types.Filterable<T>notNull in class AbstractFluentCollectionX<T>public LazyPStackX<T> removeAll(java.util.stream.Stream<? extends T> stream)
removeAll in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>removeAll in interface com.aol.cyclops.types.IterableFilterable<T>removeAll in class AbstractFluentCollectionX<T>public LazyPStackX<T> removeAll(org.jooq.lambda.Seq<? extends T> stream)
removeAll in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>removeAll in class AbstractFluentCollectionX<T>public LazyPStackX<T> removeAll(java.lang.Iterable<? extends T> it)
removeAll in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>removeAll in interface com.aol.cyclops.types.IterableFilterable<T>removeAll in class AbstractFluentCollectionX<T>public LazyPStackX<T> removeAll(T... values)
removeAll in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>removeAll in interface com.aol.cyclops.types.IterableFilterable<T>removeAll in class AbstractFluentCollectionX<T>public LazyPStackX<T> retainAll(java.lang.Iterable<? extends T> it)
retainAll in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>retainAll in interface com.aol.cyclops.types.IterableFilterable<T>retainAll in class AbstractFluentCollectionX<T>public LazyPStackX<T> retainAll(java.util.stream.Stream<? extends T> stream)
retainAll in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>retainAll in interface com.aol.cyclops.types.IterableFilterable<T>retainAll in class AbstractFluentCollectionX<T>public LazyPStackX<T> retainAll(org.jooq.lambda.Seq<? extends T> stream)
retainAll in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>retainAll in class AbstractFluentCollectionX<T>public LazyPStackX<T> retainAll(T... values)
retainAll in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>retainAll in interface com.aol.cyclops.types.IterableFilterable<T>retainAll in class AbstractFluentCollectionX<T>public <U> LazyPStackX<U> cast(java.lang.Class<? extends U> type)
cast in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>cast in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>cast in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>cast in interface com.aol.cyclops.types.Functor<T>cast in class AbstractFluentCollectionX<T>public <R> LazyPStackX<R> patternMatch(java.util.function.Function<com.aol.cyclops.control.Matchable.CheckValue1<T,R>,com.aol.cyclops.control.Matchable.CheckValue1<T,R>> case1, java.util.function.Supplier<? extends R> otherwise)
patternMatch in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>patternMatch in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>patternMatch in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>patternMatch in interface com.aol.cyclops.types.Functor<T>patternMatch in class AbstractFluentCollectionX<T>public LazyPStackX<com.aol.cyclops.control.ReactiveSeq<T>> permutations()
permutations in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>permutations in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>permutations in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>permutations in interface com.aol.cyclops.types.ExtendedTraversable<T>permutations in class AbstractFluentCollectionX<T>public LazyPStackX<com.aol.cyclops.control.ReactiveSeq<T>> combinations(int size)
combinations in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>combinations in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>combinations in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>combinations in interface com.aol.cyclops.types.ExtendedTraversable<T>combinations in class AbstractFluentCollectionX<T>public LazyPStackX<com.aol.cyclops.control.ReactiveSeq<T>> combinations()
combinations in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>combinations in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>combinations in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>combinations in interface com.aol.cyclops.types.ExtendedTraversable<T>combinations in class AbstractFluentCollectionX<T>public <C extends java.util.Collection<? super T>> LazyPStackX<C> grouped(int size, java.util.function.Supplier<C> supplier)
grouped in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>grouped in interface com.aol.cyclops.types.Traversable<T>grouped in class AbstractFluentCollectionX<T>public LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> groupedUntil(java.util.function.Predicate<? super T> predicate)
groupedUntil in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>groupedUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>groupedUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>groupedUntil in interface com.aol.cyclops.types.Traversable<T>groupedUntil in class AbstractFluentCollectionX<T>public LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> groupedWhile(java.util.function.Predicate<? super T> predicate)
groupedWhile in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>groupedWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>groupedWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>groupedWhile in interface com.aol.cyclops.types.Traversable<T>groupedWhile in class AbstractFluentCollectionX<T>public <C extends java.util.Collection<? super T>> LazyPStackX<C> groupedWhile(java.util.function.Predicate<? super T> predicate, java.util.function.Supplier<C> factory)
groupedWhile in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>groupedWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>groupedWhile in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>groupedWhile in interface com.aol.cyclops.types.Traversable<T>groupedWhile in class AbstractFluentCollectionX<T>public <C extends java.util.Collection<? super T>> LazyPStackX<C> groupedUntil(java.util.function.Predicate<? super T> predicate, java.util.function.Supplier<C> factory)
groupedUntil in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>groupedUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>groupedUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>groupedUntil in interface com.aol.cyclops.types.Traversable<T>groupedUntil in class AbstractFluentCollectionX<T>public LazyPStackX<T> with(int i, T element)
with in interface com.aol.cyclops.data.collections.extensions.FluentSequenceX<T>with in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>with in interface org.pcollections.PSequence<T>with in interface org.pcollections.PStack<T>public LazyPStackX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> groupedStatefullyUntil(java.util.function.BiPredicate<com.aol.cyclops.data.collections.extensions.standard.ListX<? super T>,? super T> predicate)
groupedStatefullyUntil in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>groupedStatefullyUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>groupedStatefullyUntil in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>groupedStatefullyUntil in interface com.aol.cyclops.types.Traversable<T>groupedStatefullyUntil in class AbstractFluentCollectionX<T>public LazyPStackX<T> peek(java.util.function.Consumer<? super T> c)
peek in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>peek in interface com.aol.cyclops.types.Functor<T>peek in class AbstractFluentCollectionX<T>public <U,R> LazyPStackX<R> zip(org.jooq.lambda.Seq<? extends U> other, java.util.function.BiFunction<? super T,? super U,? extends R> zipper)
zip in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>zip in interface com.aol.cyclops.types.Traversable<T>zip in interface com.aol.cyclops.types.Zippable<T>zip in class AbstractFluentCollectionX<T>public <U,R> LazyPStackX<R> zip(java.util.stream.Stream<? extends U> other, java.util.function.BiFunction<? super T,? super U,? extends R> zipper)
zip in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>zip in interface com.aol.cyclops.types.Traversable<T>zip in interface com.aol.cyclops.types.Zippable<T>zip in class AbstractFluentCollectionX<T>public <U> LazyPStackX<org.jooq.lambda.tuple.Tuple2<T,U>> zip(java.util.stream.Stream<? extends U> other)
zip in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>zip in interface com.aol.cyclops.types.Traversable<T>zip in interface com.aol.cyclops.types.Zippable<T>zip in class AbstractFluentCollectionX<T>public <T2,R> LazyPStackX<R> zip(java.util.function.BiFunction<? super T,? super T2,? extends R> fn, org.reactivestreams.Publisher<? extends T2> publisher)
zip in interface com.aol.cyclops.types.Zippable<T>zip in class AbstractFluentCollectionX<T>public LazyPStackX<T> onEmptySwitch(java.util.function.Supplier<? extends org.pcollections.PStack<T>> supplier)
public LazyPStackX<T> subList(int start)
subList in interface org.pcollections.PStack<T>public <R> LazyPStackX<R> unit(java.util.Collection<R> col)
unit in interface com.aol.cyclops.data.collections.extensions.FluentCollectionX<T>unit in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>unit in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>unit in interface LazyFluentCollectionX<T>public <R> LazyPStackX<R> unit(R value)
public <R> LazyPStackX<R> unitIterator(java.util.Iterator<R> it)
unitIterator in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>unitIterator in interface com.aol.cyclops.types.IterableFunctor<T>unitIterator in class AbstractFluentCollectionX<T>public <R> LazyPStackX<R> emptyUnit()
public LazyPStackX<T> toPStack()
toPStack in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>public LazyPStackX<T> plusInOrder(T e)
plusInOrder in interface com.aol.cyclops.data.collections.extensions.FluentCollectionX<T>plusInOrder in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>plusInOrder in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>plusInOrder in interface LazyFluentCollectionX<T>public com.aol.cyclops.control.ReactiveSeq<T> stream()
stream in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>stream in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>stream in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>stream in interface com.aol.cyclops.types.ExtendedTraversable<T>stream in interface com.aol.cyclops.types.Foldable<T>stream in interface com.aol.cyclops.types.IterableFunctor<T>stream in interface com.aol.cyclops.types.Sequential<T>stream in interface com.aol.cyclops.types.stream.ConvertableSequence<T>stream in interface com.aol.cyclops.types.TransformerTraversable<T>stream in interface com.aol.cyclops.types.Traversable<T>stream in interface java.util.Collection<T>public <X> LazyPStackX<X> from(java.util.Collection<X> col)
from in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>from in interface com.aol.cyclops.data.collections.extensions.persistent.PersistentCollectionX<T>from in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>from in class AbstractFluentCollectionX<T>public <T> com.aol.cyclops.Reducer<org.pcollections.PStack<T>> monoid()
public LazyPStackX<T> plus(T e)
plus in interface com.aol.cyclops.data.collections.extensions.FluentCollectionX<T>plus in interface com.aol.cyclops.data.collections.extensions.FluentSequenceX<T>plus in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>plus in interface LazyFluentCollectionX<T>plus in interface org.pcollections.PCollection<T>plus in interface org.pcollections.PSequence<T>plus in interface org.pcollections.PStack<T>plus in class AbstractFluentCollectionX<T>public LazyPStackX<T> plus(int i, T e)
plus in interface com.aol.cyclops.data.collections.extensions.FluentSequenceX<T>plus in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>plus in interface org.pcollections.PSequence<T>plus in interface org.pcollections.PStack<T>public LazyPStackX<T> minus(java.lang.Object e)
minus in interface com.aol.cyclops.data.collections.extensions.FluentCollectionX<T>minus in interface com.aol.cyclops.data.collections.extensions.FluentSequenceX<T>minus in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>minus in interface LazyFluentCollectionX<T>minus in interface org.pcollections.PCollection<T>minus in interface org.pcollections.PSequence<T>minus in interface org.pcollections.PStack<T>minus in class AbstractFluentCollectionX<T>public LazyPStackX<T> plusAll(java.util.Collection<? extends T> list)
plusAll in interface com.aol.cyclops.data.collections.extensions.FluentCollectionX<T>plusAll in interface com.aol.cyclops.data.collections.extensions.FluentSequenceX<T>plusAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>plusAll in interface LazyFluentCollectionX<T>plusAll in interface org.pcollections.PCollection<T>plusAll in interface org.pcollections.PSequence<T>plusAll in interface org.pcollections.PStack<T>plusAll in class AbstractFluentCollectionX<T>public LazyPStackX<T> plusAll(int i, java.util.Collection<? extends T> list)
plusAll in interface com.aol.cyclops.data.collections.extensions.FluentSequenceX<T>plusAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>plusAll in interface org.pcollections.PSequence<T>plusAll in interface org.pcollections.PStack<T>public LazyPStackX<T> minusAll(java.util.Collection<?> list)
minusAll in interface com.aol.cyclops.data.collections.extensions.FluentCollectionX<T>minusAll in interface com.aol.cyclops.data.collections.extensions.FluentSequenceX<T>minusAll in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>minusAll in interface LazyFluentCollectionX<T>minusAll in interface org.pcollections.PCollection<T>minusAll in interface org.pcollections.PSequence<T>minusAll in interface org.pcollections.PStack<T>minusAll in class AbstractFluentCollectionX<T>public LazyPStackX<T> minus(int i)
minus in interface com.aol.cyclops.data.collections.extensions.FluentSequenceX<T>minus in interface com.aol.cyclops.data.collections.extensions.persistent.PStackX<T>minus in interface org.pcollections.PSequence<T>minus in interface org.pcollections.PStack<T>