public abstract class AbstractLazyCollection<T,C extends java.util.Collection<T>> extends java.lang.Object implements LazyFluentCollection<T,C>, LazyCollectionX<T>
| Constructor and Description |
|---|
AbstractLazyCollection(C list,
ReactiveSeq<T> seq,
java.util.stream.Collector<T,?,C> collector,
Evaluation strict,
java.util.function.Function<ReactiveSeq<C>,C> fn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T t) |
boolean |
addAll(java.util.Collection<? extends T> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
equals(java.lang.Object o) |
Evaluation |
evaluation() |
C |
get() |
protected void |
handleStrict() |
int |
hashCode() |
boolean |
isEager() |
boolean |
isEmpty() |
boolean |
isLazy() |
boolean |
isMaterialized() |
java.util.Iterator<T> |
iterator() |
CollectionX<T> |
materialize() |
java.util.stream.Stream<T> |
parallelStream() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
removeIf(java.util.function.Predicate<? super T> filter) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.util.Spliterator<T> |
spliterator() |
ReactiveSeq<T> |
stream() |
java.lang.Object[] |
toArray() |
<T1> T1[] |
toArray(T1[] a) |
java.lang.String |
toString() |
<T> T |
unwrap()
Unwrap a wrapped value
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitappend, append, cast, combinations, combinations, combine, combine, cycle, cycle, cycleUntil, cycleWhile, deleteBetween, distinct, dropRight, dropUntil, dropWhile, filter, filterNot, flatMap, flatMapP, flatMapP, flatMapS, fromStream, grouped, grouped, grouped, grouped, groupedStatefullyUntil, groupedUntil, groupedUntil, groupedWhile, groupedWhile, insertAt, insertAtS, intersperse, limit, limitLast, limitUntil, limitWhile, map, minus, minusAll, notNull, ofType, onEmpty, onEmptyGet, onEmptyThrow, permutations, plus, plusAll, prepend, prepend, prependS, recover, recover, reduce, removeAll, removeAllI, removeAllS, retainAll, retainAllI, retainAllS, retry, retry, reverse, scanLeft, scanLeft, scanRight, scanRight, shuffle, shuffle, skip, skipLast, skipUntil, skipWhile, slice, sliding, sliding, sorted, sorted, sorted, takeRight, takeUntil, takeWhile, trampoline, zip, zip, zip, zip3, zip3, zip4, zip4, zipP, zipP, zipS, zipS, zipWith, zipWithIndex, zipWithP, zipWithSplusInOrder, plusLoop, plusLoop, unitdrop, eager, findAny, findFirst, forEach2, forEach2, forEach3, forEach3, forEach4, forEach4, from, fromCollection, getAtIndex, groupBy, head, headAndTail, lazy, materializeReversed, peek, single, single, singleUnsafe, take, takeOne, toX, unitasFunction, foldFuture, foldLazy, foldTry, forEach, forEach, forEach, forEach, forEach, forEachSubscribe, forEachSubscribe, forEachSubscribe, runFuture, runLazy, seq, toListX, toSetX, visitallMatch, anyMatch, collect, collectors, commonPrefix, commonSuffix, count, count, countDistinct, countDistinct, countDistinctBy, countDistinctBy, max, maxBy, min, minBy, mode, noneMatch, sum, sumDouble, sumInt, sumLong, to, toList, toMap, toMap, toSet, toString, toStringendsWith, endsWithIterable, firstValue, foldLeft, foldLeft, foldLeft, foldLeft, 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, xMatchmapToDouble, mapToInt, mapToLong, subscribe, traversable, unitIteratorgroupedStatefullyUntilT, groupedT, groupedUntilT, groupedWhileT, slidingT, slidingTfixedDelay, onePer, xPerunwrapIfInstance, unwrapNestedpublic AbstractLazyCollection(C list, ReactiveSeq<T> seq, java.util.stream.Collector<T,?,C> collector, Evaluation strict, java.util.function.Function<ReactiveSeq<C>,C> fn)
public <T> T unwrap()
Unwrapableunwrap in interface Unwrapablepublic java.util.Iterator<T> iterator()
iterator in interface CollectionX<T>iterator in interface java.lang.Iterable<T>iterator in interface java.util.Collection<T>public C get()
get in interface LazyFluentCollection<T,C extends java.util.Collection<T>>public boolean isLazy()
isLazy in interface CollectionX<T>public boolean isEager()
isEager in interface CollectionX<T>public Evaluation evaluation()
evaluation in interface CollectionX<T>protected void handleStrict()
public ReactiveSeq<T> stream()
stream in interface CollectionX<T>stream in interface LazyFluentCollection<T,C extends java.util.Collection<T>>stream in interface Folds<T>stream in interface TransformerTraversable<T>stream in interface ExtendedTraversable<T>stream in interface FoldableTraversable<T>stream in interface Sequential<T>stream in interface Traversable<T>stream in interface java.util.Collection<T>public boolean isMaterialized()
isMaterialized in interface CollectionX<T>public CollectionX<T> materialize()
materialize in interface CollectionX<T>public int size()
size in interface java.util.Collection<T>public boolean isEmpty()
isEmpty in interface CollectionX<T>isEmpty in interface java.util.Collection<T>public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<T>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<T>public <T1> T1[] toArray(T1[] a)
toArray in interface java.util.Collection<T>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<T>public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<T>public boolean addAll(java.util.Collection<? extends T> c)
addAll in interface java.util.Collection<T>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<T>public boolean removeIf(java.util.function.Predicate<? super T> filter)
removeIf in interface java.util.Collection<T>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<T>public void clear()
clear in interface java.util.Collection<T>public boolean equals(java.lang.Object o)
equals in interface java.util.Collection<T>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Collection<T>hashCode in class java.lang.Objectpublic java.util.Spliterator<T> spliterator()
public java.util.stream.Stream<T> parallelStream()
parallelStream in interface java.util.Collection<T>public java.lang.String toString()
toString in class java.lang.Object