T - the type of elements held in this collectionpublic class LazySortedSetX<T> extends AbstractFluentCollectionX<T> implements com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>
SortedSet
Extended SortedSet operations execute lazily e.g.
LazySortedSetX<Integer> q = LazySortedSetX.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
SortedSet is accessed. This allows lazy operations to be chained and executed more efficiently e.g.
LazySortedSetX<Integer> q = LazySortedSetX.of(1,2,3)
.map(i->i*2);
.filter(i->i<5);
The operation above is more efficient than the equivalent operation with a SortedSetX.
NB. Because LazySortedSetX transform operations are performed Lazily, they may result in a different result
than SortedSetX operations that are performed eagerly. For example a sequence of map operations that result in
duplicate keys, may result in a different SortedSet being produced.AbstractFluentCollectionX.LazyCollection<T,C extends java.util.Collection<T>>, AbstractFluentCollectionX.PersistentLazyCollection<T,C extends java.util.Collection<T>>| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T e) |
boolean |
addAll(java.util.Collection<? extends T> c) |
<U> LazySortedSetX<U> |
cast(java.lang.Class<? extends U> type) |
void |
clear() |
<R,A> R |
collect(java.util.stream.Collector<? super T,A,R> collector) |
com.aol.cyclops.data.collections.extensions.standard.SortedSetX<com.aol.cyclops.control.ReactiveSeq<T>> |
combinations() |
com.aol.cyclops.data.collections.extensions.standard.SortedSetX<com.aol.cyclops.control.ReactiveSeq<T>> |
combinations(int size) |
LazySortedSetX<T> |
combine(java.util.function.BiPredicate<? super T,? super T> predicate,
java.util.function.BinaryOperator<T> op) |
java.util.Comparator<? super T> |
comparator() |
boolean |
contains(java.lang.Object e) |
boolean |
containsAll(java.util.Collection<?> c) |
long |
count() |
LazyListX<T> |
cycle(int times) |
LazyListX<T> |
cycle(com.aol.cyclops.Monoid<T> m,
int times) |
LazyListX<T> |
cycleUntil(java.util.function.Predicate<? super T> predicate) |
LazyListX<T> |
cycleWhile(java.util.function.Predicate<? super T> predicate) |
LazySortedSetX<T> |
distinct() |
LazySortedSetX<T> |
dropRight(int num) |
LazySortedSetX<T> |
dropUntil(java.util.function.Predicate<? super T> p) |
LazySortedSetX<T> |
dropWhile(java.util.function.Predicate<? super T> p) |
static <T> LazySortedSetX<T> |
empty() |
boolean |
equals(java.lang.Object o) |
LazySortedSetX<T> |
filter(java.util.function.Predicate<? super T> pred) |
LazySortedSetX<T> |
filterNot(java.util.function.Predicate<? super T> fn) |
T |
first() |
<R> LazySortedSetX<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) |
<T1> LazySortedSetX<T1> |
from(java.util.Collection<T1> c) |
static <T> LazySortedSetX<T> |
fromIterable(java.util.stream.Collector<T,?,java.util.SortedSet<T>> collector,
java.lang.Iterable<T> it)
Construct a LazySortedSetX from an Iterable, using the specified Collector.
|
static <T> LazySortedSetX<T> |
fromIterable(java.lang.Iterable<T> it)
Construct LazySortedSetX from an Iterable
|
static <T> LazySortedSetX<T> |
fromPublisher(org.reactivestreams.Publisher<? extends T> publisher)
Construct a LazySortedSetX from an Publisher
|
<X> LazySortedSetX<X> |
fromStream(java.util.stream.Stream<X> stream) |
static <T> LazySortedSetX<T> |
fromStreamS(java.util.stream.Stream<T> stream)
Create a LazySortedSetX from a Stream
|
static <T> LazySortedSetX<T> |
generate(long limit,
java.util.function.Supplier<T> s)
Generate a LazySortedSetX from the provided Supplier up to the provided limit number of times
|
<K> LazySortedSetX<org.jooq.lambda.tuple.Tuple2<K,org.jooq.lambda.Seq<T>>> |
grouped(java.util.function.Function<? super T,? extends K> classifier) |
<K,A,D> LazySortedSetX<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) |
LazySortedSetX<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) |
LazySortedSetX<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) |
LazySortedSetX<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) |
LazySortedSetX<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() |
com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T> |
headSet(T toElement) |
LazySortedSetX<T> |
intersperse(T value) |
boolean |
isEmpty() |
static <T> LazySortedSetX<T> |
iterate(long limit,
T seed,
java.util.function.UnaryOperator<T> f)
Create a LazySortedSetX by iterative application of a function to an initial element up to the supplied limit number of times
|
java.util.Iterator<T> |
iterator() |
T |
last() |
static <T> java.util.stream.Collector<T,?,LazySortedSetX<T>> |
lazyListXCollector() |
LazySortedSetX<T> |
limit(long num) |
LazySortedSetX<T> |
limitLast(int num) |
LazySortedSetX<T> |
limitUntil(java.util.function.Predicate<? super T> p) |
LazySortedSetX<T> |
limitWhile(java.util.function.Predicate<? super T> p) |
<R> LazySortedSetX<R> |
map(java.util.function.Function<? super T,? extends R> mapper) |
LazySortedSetX<T> |
minus(java.lang.Object e) |
LazySortedSetX<T> |
minusAll(java.util.Collection<?> list) |
LazySortedSetX<T> |
minusAllLazy(java.util.Collection<?> list)
Lazily remove the elements in the supplied Collection from this Collection.
|
LazySortedSetX<T> |
minusLazy(java.lang.Object e)
Lazily remove an element from this Collection.
|
LazySortedSetX<T> |
notNull() |
static <T> LazySortedSetX<T> |
of(T... values)
Create a LazySortedSetX from the specified values
|
<U> LazySortedSetX<U> |
ofType(java.lang.Class<? extends U> type) |
LazySortedSetX<T> |
onEmpty(T value) |
LazySortedSetX<T> |
onEmptyGet(java.util.function.Supplier<? extends T> supplier) |
LazySortedSetX<T> |
onEmptySwitch(java.util.function.Supplier<? extends java.util.SortedSet<T>> supplier) |
<X extends java.lang.Throwable> |
onEmptyThrow(java.util.function.Supplier<? extends X> supplier) |
java.util.stream.Stream<T> |
parallelStream() |
<R> LazySortedSetX<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) |
LazySortedSetX<T> |
peek(java.util.function.Consumer<? super T> c) |
LazySortedSetX<com.aol.cyclops.control.ReactiveSeq<T>> |
permutations() |
LazySortedSetX<T> |
plus(T e) |
LazySortedSetX<T> |
plusAll(java.util.Collection<? extends T> list) |
LazySortedSetX<T> |
plusAllLazy(java.util.Collection<? extends T> list)
Lazily add all the elements in the supplied Collection to this Collection.
|
LazySortedSetX<T> |
plusInOrder(T e) |
LazySortedSetX<T> |
plusLazy(T e)
Lazily add an element to this Collection.
|
static LazySortedSetX<java.lang.Integer> |
range(int start,
int end)
Create a LazySortedSetX that contains the Integers between start and end
|
static LazySortedSetX<java.lang.Long> |
rangeLong(long start,
long end)
Create a LazySortedSetX that contains the Longs between start and end
|
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
LazySortedSetX<T> |
removeAll(java.lang.Iterable<? extends T> it) |
LazySortedSetX<T> |
removeAll(org.jooq.lambda.Seq<? extends T> stream) |
LazySortedSetX<T> |
removeAll(java.util.stream.Stream<? extends T> stream) |
LazySortedSetX<T> |
removeAll(T... values) |
boolean |
removeIf(java.util.function.Predicate<? super T> filter) |
boolean |
retainAll(java.util.Collection<?> c) |
LazySortedSetX<T> |
retainAll(java.lang.Iterable<? extends T> it) |
LazySortedSetX<T> |
retainAll(org.jooq.lambda.Seq<? extends T> stream) |
LazySortedSetX<T> |
retainAll(java.util.stream.Stream<? extends T> stream) |
LazySortedSetX<T> |
retainAll(T... values) |
LazySortedSetX<T> |
reverse() |
LazySortedSetX<T> |
scanLeft(com.aol.cyclops.Monoid<T> monoid) |
<U> LazySortedSetX<U> |
scanLeft(U seed,
java.util.function.BiFunction<? super U,? super T,? extends U> function) |
LazySortedSetX<T> |
scanRight(com.aol.cyclops.Monoid<T> monoid) |
<U> LazySortedSetX<U> |
scanRight(U identity,
java.util.function.BiFunction<? super T,? super U,? extends U> combiner) |
LazySortedSetX<T> |
shuffle() |
LazySortedSetX<T> |
shuffle(java.util.Random random) |
static <T> LazySortedSetX<T> |
singleton(T value)
Construct a LazySortedSetX with a single value
|
int |
size() |
LazySortedSetX<T> |
skip(long num) |
LazySortedSetX<T> |
skipLast(int num) |
LazySortedSetX<T> |
skipUntil(java.util.function.Predicate<? super T> p) |
LazySortedSetX<T> |
skipWhile(java.util.function.Predicate<? super T> p) |
LazySortedSetX<T> |
slice(long from,
long to) |
LazySortedSetX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> |
sliding(int windowSize) |
LazySortedSetX<com.aol.cyclops.data.collections.extensions.standard.ListX<T>> |
sliding(int windowSize,
int increment) |
LazySortedSetX<T> |
sorted() |
LazySortedSetX<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> LazySortedSetX<X> |
stream(reactor.core.publisher.Flux<X> stream)
Create a LazyFluentCollection from a Flux.
|
com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T> |
subSet(T fromElement,
T toElement) |
java.util.SortedSet<T> |
tailSet(T fromElement) |
LazySortedSetX<T> |
takeRight(int num) |
LazySortedSetX<T> |
takeUntil(java.util.function.Predicate<? super T> p) |
LazySortedSetX<T> |
takeWhile(java.util.function.Predicate<? super T> p) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
java.lang.String |
toString() |
<R> LazySortedSetX<R> |
trampoline(java.util.function.Function<? super T,? extends com.aol.cyclops.control.Trampoline<? extends R>> mapper) |
static <U,T> LazySortedSetX<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 LazySortedSetX
|
<R> LazySortedSetX<R> |
unit(java.util.Collection<R> col) |
<R> LazySortedSetX<R> |
unit(R value) |
<R> LazySortedSetX<R> |
unitIterator(java.util.Iterator<R> it) |
LazySortedSetX<T> |
with(int i,
T element)
SortedSetX methods
|
<T2,R> LazySortedSetX<R> |
zip(java.util.function.BiFunction<? super T,? super T2,? extends R> fn,
org.reactivestreams.Publisher<? extends T2> publisher) |
<U> LazySortedSetX<org.jooq.lambda.tuple.Tuple2<T,U>> |
zip(java.lang.Iterable<? extends U> other) |
<U,R> LazySortedSetX<R> |
zip(java.lang.Iterable<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends R> zipper) |
<U> LazySortedSetX<org.jooq.lambda.tuple.Tuple2<T,U>> |
zip(org.jooq.lambda.Seq<? extends U> other) |
<U,R> LazySortedSetX<R> |
zip(org.jooq.lambda.Seq<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends R> zipper) |
<U> LazySortedSetX<org.jooq.lambda.tuple.Tuple2<T,U>> |
zip(java.util.stream.Stream<? extends U> other) |
<U,R> LazySortedSetX<R> |
zip(java.util.stream.Stream<? extends U> other,
java.util.function.BiFunction<? super T,? super U,? extends R> zipper) |
<S,U> LazySortedSetX<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> LazySortedSetX<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) |
LazySortedSetX<org.jooq.lambda.tuple.Tuple2<T,java.lang.Long>> |
zipWithIndex() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdefaultCollector, getCollector, immutableCollector, toSortedSetXreducecollectable, findAny, findFirst, forEach2, forEach2, forEach3, forEach3, fromCollection, getAtIndex, groupBy, head, headAndTail, single, single, singleOptionalgroupedStatefullyUntilT, groupedT, groupedUntilT, groupedWhileT, slidingT, slidingTap1, ap2, ap3, ap4, ap5, applicativesflatMapPublisher, flatMapPublisher, flatMapPublisher, mergePublisher, mergePublisherendsWith, endsWithIterable, firstValue, foldRight, foldRight, foldRight, foldRightMapToType, get, join, join, join, mapReduce, mapReduce, print, print, printErr, printOut, reduce, reduce, reduce, reduce, reduce, reduce, schedule, scheduleFixedDelay, scheduleFixedRate, startsWith, startsWithIterable, toConcurrentLazyCollection, toConcurrentLazyStreamable, toLazyCollection, validate, xMatchfutureOperations, lazyOperations, subscribe, traversableseq, toCompletableFuture, toDequeX, toEvalAlways, toEvalLater, toEvalNow, toFutureStream, toFutureStream, toFutureW, toIor, toIorSecondary, toListX, toMapX, toMaybe, toOptional, toPBagX, toPMapX, toPOrderedSetX, toPQueueX, toPSetX, toPStackX, toPVectorX, toQueueX, toSetX, toSimpleReact, toSimpleReact, toStreamable, toTry, toValue, toValueMap, toValueSet, toXor, toXorSecondaryallMatch, 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 static <T> LazySortedSetX<T> fromStreamS(java.util.stream.Stream<T> stream)
stream - to construct a LazySortedSetX frompublic static LazySortedSetX<java.lang.Integer> range(int start, int end)
range in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>start - Number of range to start fromend - Number for range to end atpublic static LazySortedSetX<java.lang.Long> rangeLong(long start, long end)
rangeLong in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>start - Number of range to start fromend - Number for range to end atpublic static <U,T> LazySortedSetX<T> unfold(U seed, java.util.function.Function<? super U,java.util.Optional<org.jooq.lambda.tuple.Tuple2<T,U>>> unfolder)
LazySortedSetX.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.standard.SortedSetX<T>seed - Initial valueunfolder - Iteratively applied function, terminated by an empty Optionalpublic static <T> LazySortedSetX<T> generate(long limit, java.util.function.Supplier<T> s)
generate in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>limit - Max number of elements to generates - Supplier to generate ListX elementspublic static <T> LazySortedSetX<T> iterate(long limit, T seed, java.util.function.UnaryOperator<T> f)
iterate in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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,?,LazySortedSetX<T>> lazyListXCollector()
public static <T> LazySortedSetX<T> empty()
empty in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>@SafeVarargs public static <T> LazySortedSetX<T> of(T... values)
ListX<Integer> lazy = LazySortedSetX.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.standard.SortedSetX<T>values - To populate LazySortedSetX withpublic static <T> LazySortedSetX<T> singleton(T value)
ListX<Integer> lazy = LazySortedSetX.singleton(5);
singleton in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>value - To populate LazySortedSetX withpublic static <T> LazySortedSetX<T> fromPublisher(org.reactivestreams.Publisher<? extends T> publisher)
fromPublisher in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>publisher - to construct LazySortedSetX frompublic static <T> LazySortedSetX<T> fromIterable(java.lang.Iterable<T> it)
fromIterable in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>it - to construct LazySortedSetX frompublic static <T> LazySortedSetX<T> fromIterable(java.util.stream.Collector<T,?,java.util.SortedSet<T>> collector, java.lang.Iterable<T> it)
fromIterable in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>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 LazySortedSetX 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 removeIf(java.util.function.Predicate<? super T> filter)
removeIf in interface java.util.Collection<T>public java.util.stream.Stream<T> parallelStream()
parallelStream in interface java.util.Collection<T>public java.util.Spliterator<T> spliterator()
public <X> LazySortedSetX<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 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.standard.SortedSetX<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 reactor.core.publisher.Flux<T> flux()
ReactorConvertableflux in interface ReactorConvertable<T>flux in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>combine in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>combine in interface com.aol.cyclops.types.Traversable<T>combine in class AbstractFluentCollectionX<T>public LazySortedSetX<T> reverse()
reverse in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>reverse in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>reverse in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>reverse in interface com.aol.cyclops.types.Traversable<T>reverse in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>filter in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>filter in interface com.aol.cyclops.types.Filterable<T>filter in class AbstractFluentCollectionX<T>public <R> LazySortedSetX<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.standard.MutableCollectionX<T>map in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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> LazySortedSetX<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.standard.MutableCollectionX<T>flatMap in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>flatMap in class AbstractFluentCollectionX<T>public LazySortedSetX<T> limit(long num)
limit in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>limit in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>limit in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>limit in interface com.aol.cyclops.types.Traversable<T>limit in class AbstractFluentCollectionX<T>public LazySortedSetX<T> skip(long num)
skip in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>skip in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>skip in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>skip in interface com.aol.cyclops.types.Traversable<T>skip in class AbstractFluentCollectionX<T>public LazySortedSetX<T> takeRight(int num)
takeRight in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>takeRight in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>takeRight in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>takeRight in interface com.aol.cyclops.types.Traversable<T>takeRight in class AbstractFluentCollectionX<T>public LazySortedSetX<T> dropRight(int num)
dropRight in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>dropRight in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>dropRight in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>dropRight in interface com.aol.cyclops.types.Traversable<T>dropRight in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>takeWhile in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>takeWhile in interface com.aol.cyclops.types.Traversable<T>takeWhile in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>dropWhile in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>dropWhile in interface com.aol.cyclops.types.Traversable<T>dropWhile in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>takeUntil in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>takeUntil in interface com.aol.cyclops.types.Traversable<T>takeUntil in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>dropUntil in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>dropUntil in interface com.aol.cyclops.types.Traversable<T>dropUntil in class AbstractFluentCollectionX<T>public <R> LazySortedSetX<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.standard.MutableCollectionX<T>trampoline in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>trampoline in interface com.aol.cyclops.types.Functor<T>trampoline in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>slice in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>slice in interface com.aol.cyclops.types.Traversable<T>slice in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>grouped in interface com.aol.cyclops.types.Traversable<T>grouped in class AbstractFluentCollectionX<T>public <K,A,D> LazySortedSetX<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.standard.MutableCollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>grouped in interface com.aol.cyclops.types.Traversable<T>grouped in class AbstractFluentCollectionX<T>public <U> LazySortedSetX<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.standard.MutableCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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> LazySortedSetX<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.standard.MutableCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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 LazySortedSetX<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.standard.MutableCollectionX<T>sliding in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>sliding in interface com.aol.cyclops.types.Traversable<T>sliding in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>sliding in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>sliding in interface com.aol.cyclops.types.Traversable<T>sliding in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>scanLeft in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>scanLeft in interface com.aol.cyclops.types.Traversable<T>scanLeft in class AbstractFluentCollectionX<T>public <U> LazySortedSetX<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.standard.MutableCollectionX<T>scanLeft in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>scanLeft in interface com.aol.cyclops.types.Traversable<T>scanLeft in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>scanRight in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>scanRight in interface com.aol.cyclops.types.Traversable<T>scanRight in class AbstractFluentCollectionX<T>public <U> LazySortedSetX<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.standard.MutableCollectionX<T>scanRight in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>scanRight in interface com.aol.cyclops.types.Traversable<T>scanRight in class AbstractFluentCollectionX<T>public <U extends java.lang.Comparable<? super U>> LazySortedSetX<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.standard.MutableCollectionX<T>sorted in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>sorted in interface com.aol.cyclops.types.Traversable<T>sorted in class AbstractFluentCollectionX<T>public LazySortedSetX<T> plus(T e)
plus in interface com.aol.cyclops.data.collections.extensions.FluentCollectionX<T>plus in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>plus in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>plus in interface LazyFluentCollectionX<T>plus in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>plusAll in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>plusAll in interface LazyFluentCollectionX<T>plusAll in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>minus in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>minus in interface LazyFluentCollectionX<T>minus in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>minusAll in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>minusAll in interface LazyFluentCollectionX<T>minusAll in class AbstractFluentCollectionX<T>public LazySortedSetX<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 LazySortedSetX<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 LazySortedSetX<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 LazySortedSetX<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 LazyListX<T> cycle(int times)
cycle in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>cycle in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>cycle in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>cycle in interface com.aol.cyclops.types.Traversable<T>cycle in class AbstractFluentCollectionX<T>public LazyListX<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.standard.MutableCollectionX<T>cycle in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>cycle in interface com.aol.cyclops.types.Traversable<T>cycle in class AbstractFluentCollectionX<T>public LazyListX<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.standard.MutableCollectionX<T>cycleWhile in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>cycleWhile in interface com.aol.cyclops.types.Traversable<T>cycleWhile in class AbstractFluentCollectionX<T>public LazyListX<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.standard.MutableCollectionX<T>cycleUntil in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>cycleUntil in interface com.aol.cyclops.types.Traversable<T>cycleUntil in class AbstractFluentCollectionX<T>public <U> LazySortedSetX<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.standard.MutableCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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> LazySortedSetX<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.standard.MutableCollectionX<T>zip3 in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>zip3 in interface com.aol.cyclops.types.Traversable<T>zip3 in class AbstractFluentCollectionX<T>public <T2,T3,T4> LazySortedSetX<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.standard.MutableCollectionX<T>zip4 in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>zip4 in interface com.aol.cyclops.types.Traversable<T>zip4 in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>zipWithIndex in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>zipWithIndex in interface com.aol.cyclops.types.Traversable<T>zipWithIndex in class AbstractFluentCollectionX<T>public LazySortedSetX<T> distinct()
distinct in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>distinct in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>distinct in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>distinct in interface com.aol.cyclops.types.Traversable<T>distinct in class AbstractFluentCollectionX<T>public LazySortedSetX<T> sorted()
sorted in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>sorted in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>sorted in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>sorted in interface com.aol.cyclops.types.Traversable<T>sorted in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>sorted in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>sorted in interface com.aol.cyclops.types.Traversable<T>sorted in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>skipWhile in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>skipWhile in interface com.aol.cyclops.types.Traversable<T>skipWhile in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>skipUntil in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>skipUntil in interface com.aol.cyclops.types.Traversable<T>skipUntil in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>limitWhile in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>limitWhile in interface com.aol.cyclops.types.Traversable<T>limitWhile in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>limitUntil in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>limitUntil in interface com.aol.cyclops.types.Traversable<T>limitUntil in class AbstractFluentCollectionX<T>public LazySortedSetX<T> intersperse(T value)
intersperse in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>intersperse in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>intersperse in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>intersperse in interface com.aol.cyclops.types.Traversable<T>intersperse in class AbstractFluentCollectionX<T>public LazySortedSetX<T> shuffle()
shuffle in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>shuffle in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>shuffle in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>shuffle in interface com.aol.cyclops.types.Traversable<T>shuffle in class AbstractFluentCollectionX<T>public LazySortedSetX<T> skipLast(int num)
skipLast in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>skipLast in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>skipLast in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>skipLast in interface com.aol.cyclops.types.Traversable<T>skipLast in class AbstractFluentCollectionX<T>public LazySortedSetX<T> limitLast(int num)
limitLast in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>limitLast in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>limitLast in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>limitLast in interface com.aol.cyclops.types.Traversable<T>limitLast in class AbstractFluentCollectionX<T>public LazySortedSetX<T> onEmpty(T value)
onEmpty in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>onEmpty in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>onEmpty in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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 LazySortedSetX<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.standard.MutableCollectionX<T>onEmptyGet in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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> LazySortedSetX<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.standard.MutableCollectionX<T>onEmptyThrow in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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 LazySortedSetX<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.standard.MutableCollectionX<T>shuffle in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>shuffle in interface com.aol.cyclops.types.Traversable<T>shuffle in class AbstractFluentCollectionX<T>public <U> LazySortedSetX<U> ofType(java.lang.Class<? extends U> type)
ofType in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>ofType in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>ofType in interface com.aol.cyclops.types.Filterable<T>ofType in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>filterNot in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>filterNot in interface com.aol.cyclops.types.Filterable<T>filterNot in class AbstractFluentCollectionX<T>public LazySortedSetX<T> notNull()
notNull in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>notNull in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>notNull in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>notNull in interface com.aol.cyclops.types.Filterable<T>notNull in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>removeAll in interface com.aol.cyclops.types.IterableFilterable<T>removeAll in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>removeAll in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>removeAll in interface com.aol.cyclops.types.IterableFilterable<T>removeAll in class AbstractFluentCollectionX<T>public LazySortedSetX<T> removeAll(T... values)
removeAll in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>removeAll in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>removeAll in interface com.aol.cyclops.types.IterableFilterable<T>removeAll in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>retainAll in interface com.aol.cyclops.types.IterableFilterable<T>retainAll in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>retainAll in interface com.aol.cyclops.types.IterableFilterable<T>retainAll in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>retainAll in class AbstractFluentCollectionX<T>public LazySortedSetX<T> retainAll(T... values)
retainAll in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.standard.MutableCollectionX<T>retainAll in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>retainAll in interface com.aol.cyclops.types.IterableFilterable<T>retainAll in class AbstractFluentCollectionX<T>public <U> LazySortedSetX<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.standard.MutableCollectionX<T>cast in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>cast in interface com.aol.cyclops.types.Functor<T>cast in class AbstractFluentCollectionX<T>public <R> LazySortedSetX<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.standard.MutableCollectionX<T>patternMatch in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>patternMatch in interface com.aol.cyclops.types.Functor<T>patternMatch in class AbstractFluentCollectionX<T>public <C extends java.util.Collection<? super T>> LazySortedSetX<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.standard.MutableCollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>grouped in interface com.aol.cyclops.types.Traversable<T>grouped in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>groupedUntil in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>groupedUntil in interface com.aol.cyclops.types.Traversable<T>groupedUntil in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>groupedWhile in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>groupedWhile in interface com.aol.cyclops.types.Traversable<T>groupedWhile in class AbstractFluentCollectionX<T>public <C extends java.util.Collection<? super T>> LazySortedSetX<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.standard.MutableCollectionX<T>groupedWhile in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>groupedWhile in interface com.aol.cyclops.types.Traversable<T>groupedWhile in class AbstractFluentCollectionX<T>public <C extends java.util.Collection<? super T>> LazySortedSetX<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.standard.MutableCollectionX<T>groupedUntil in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>groupedUntil in interface com.aol.cyclops.types.Traversable<T>groupedUntil in class AbstractFluentCollectionX<T>public LazySortedSetX<T> with(int i, T element)
public <R> LazySortedSetX<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.standard.SortedSetX<T>unit in interface LazyFluentCollectionX<T>public <R> LazySortedSetX<R> unit(R value)
public <R> LazySortedSetX<R> unitIterator(java.util.Iterator<R> it)
unitIterator in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>unitIterator in interface com.aol.cyclops.types.IterableFunctor<T>unitIterator in class AbstractFluentCollectionX<T>public LazySortedSetX<T> plusInOrder(T e)
plusInOrder in interface com.aol.cyclops.data.collections.extensions.FluentCollectionX<T>plusInOrder in interface LazyFluentCollectionX<T>public <T1> LazySortedSetX<T1> from(java.util.Collection<T1> c)
from in interface com.aol.cyclops.data.collections.extensions.CollectionX<T>from in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>from in class AbstractFluentCollectionX<T>public LazySortedSetX<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.standard.MutableCollectionX<T>groupedStatefullyUntil in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>groupedStatefullyUntil in interface com.aol.cyclops.types.Traversable<T>groupedStatefullyUntil in class AbstractFluentCollectionX<T>public LazySortedSetX<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> LazySortedSetX<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.standard.MutableCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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> LazySortedSetX<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.standard.MutableCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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> LazySortedSetX<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.standard.MutableCollectionX<T>zip in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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> LazySortedSetX<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 <X> LazySortedSetX<X> fromStream(java.util.stream.Stream<X> stream)
public LazySortedSetX<T> onEmptySwitch(java.util.function.Supplier<? extends java.util.SortedSet<T>> supplier)
public java.util.Comparator<? super T> comparator()
comparator in interface java.util.SortedSet<T>SortedSet.comparator()public com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T> subSet(T fromElement, T toElement)
subSet in interface java.util.SortedSet<T>fromElement - toElement - SortedSet.subSet(java.lang.Object, java.lang.Object)public com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T> headSet(T toElement)
headSet in interface java.util.SortedSet<T>toElement - SortedSet.headSet(java.lang.Object)public java.util.SortedSet<T> tailSet(T fromElement)
tailSet in interface java.util.SortedSet<T>fromElement - SortedSet.tailSet(java.lang.Object)public T first()
first in interface java.util.SortedSet<T>SortedSet.first()public T last()
last in interface java.util.SortedSet<T>SortedSet.last()public LazySortedSetX<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.standard.MutableCollectionX<T>permutations in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>permutations in interface com.aol.cyclops.types.ExtendedTraversable<T>permutations in class AbstractFluentCollectionX<T>public com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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.standard.MutableCollectionX<T>combinations in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>combinations in interface com.aol.cyclops.types.ExtendedTraversable<T>combinations in class AbstractFluentCollectionX<T>public com.aol.cyclops.data.collections.extensions.standard.SortedSetX<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.standard.MutableCollectionX<T>combinations in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>combinations in interface com.aol.cyclops.types.ExtendedTraversable<T>combinations in class AbstractFluentCollectionX<T>public <K> LazySortedSetX<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.standard.MutableCollectionX<T>grouped in interface com.aol.cyclops.data.collections.extensions.standard.SortedSetX<T>grouped in interface com.aol.cyclops.types.Traversable<T>grouped in class AbstractFluentCollectionX<T>