public abstract class AbstractLazyMutableCollection<T,C extends java.util.Collection<T>> extends java.lang.Object implements LazyFluentCollection<T,C>, MutableCollectionX<T>
Fn1.µ, Fn1.FunctionalOperations<T1,R>
Constructor and Description |
---|
AbstractLazyMutableCollection(C list,
ReactiveSeq<T> seq,
java.util.stream.Collector<T,?,C> collector) |
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) |
C |
get() |
int |
hashCode() |
boolean |
isEmpty() |
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() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
append, append, cast, combinations, combinations, combine, cycle, cycle, cycleUntil, cycleWhile, deleteBetween, distinct, dropRight, dropUntil, dropWhile, filter, filterNot, flatMap, 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, reduce, removeAllS, removeAllS, removeAllS, retainAllS, retainAllS, retainAllS, reverse, scanLeft, scanLeft, scanRight, scanRight, shuffle, shuffle, skip, skipLast, skipUntil, skipWhile, slice, sliding, sliding, sorted, sorted, sorted, takeRight, takeUntil, takeWhile, trampoline, zip, zip, zip3, zip4, zipS, zipS, zipWithIndex
plusInOrder, plusLoop, plusLoop, unit
drop, findAny, findFirst, forEach2, forEach2, forEach3, forEach3, forEach4, forEach4, from, fromCollection, getAtIndex, groupBy, head, headAndTail, peek, single, single, singleOptional, take, unit
apply, foldFuture, foldLazy, foldTry, forEach, forEach, forEach, forEach, forEach, runFuture, runLazy, seq, subscribe, subscribe, subscribe, visit
andThen, andThen, bind, compose, functionOps, lift, lift, liftF, liftOpt, liftTry, memoize, memoize, product, reader, λ, λv
apply, applyPartially, applyPartially, curry, curry, from, toFunction
allMatch, anyMatch, avg, avgDouble, avgInt, avgLong, bitAnd, bitAndInt, bitAndLong, bitOr, bitOrInt, bitOrLong, collect, collectable, commonPrefix, commonSuffix, count, 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, sumDouble, sumInt, sumLong, toCollection, toList, toList, toMap, toMap, toSet, toSet, toString, toString
endsWith, 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, toConcurrentLazyCollection, toConcurrentLazyStreamable, toLazyCollection, xMatch
toDequeX, toFutureStream, toFutureStream, toListX, toMapX, toOptional, toPBagX, toPMapX, toPOrderedSetX, toPQueueX, toPSetX, toPStackX, toPVectorX, toQueueX, toSetX, toSimpleReact, toSimpleReact, toSortedSetX, toStreamable, toValue
mapToDouble, mapToInt, mapToLong, recover, recover, subscribe, traversable, unitIterator
zip, zip3, zip4, zipP, zipP, zipWith, zipWithP, zipWithS
futureStream, getStreamable, jdkStream, reactiveSeq, reveresedJDKStream, reveresedStream
retry, retry
groupedStatefullyUntilT, groupedT, groupedUntilT, groupedWhileT, slidingT, slidingT
fixedDelay, onePer, xPer
public AbstractLazyMutableCollection(C list, ReactiveSeq<T> seq, java.util.stream.Collector<T,?,C> collector)
public C get()
get
in interface LazyFluentCollection<T,C extends java.util.Collection<T>>
public 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 ReactiveSeq<T> stream()
stream
in interface CollectionX<T>
stream
in interface LazyFluentCollection<T,C extends java.util.Collection<T>>
stream
in interface ExtendedTraversable<T>
stream
in interface FoldableTraversable<T>
stream
in interface Sequential<T>
stream
in interface ConvertableSequence<T>
stream
in interface ToStream<T>
stream
in interface TransformerTraversable<T>
stream
in interface Traversable<T>
stream
in interface java.util.Collection<T>
public CollectionX<T> materialize()
materialize
in interface CollectionX<T>
public int size()
size
in interface java.util.Collection<T>
public boolean isEmpty()
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.Object
public int hashCode()
hashCode
in interface java.util.Collection<T>
hashCode
in class java.lang.Object
public 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