public class PSetXImpl<T> extends java.lang.Object implements PSetX<T>
Constructor and Description |
---|
PSetXImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T e) |
boolean |
addAll(java.util.Collection<? extends T> c)
Deprecated.
|
void |
clear()
Deprecated.
|
<R,A> R |
collect(java.util.stream.Collector<? super T,A,R> collector)
Collect this collectable.
|
boolean |
contains(java.lang.Object e) |
boolean |
containsAll(java.util.Collection<?> c) |
long |
count()
Count the values in this collectable.
|
boolean |
equals(java.lang.Object o) |
void |
forEach(java.util.function.Consumer<? super T> action) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
PSetX<T> |
minus(java.lang.Object e)
Remove the specified element from this collection
|
PSetX<T> |
minusAll(java.util.Collection<?> list)
Remove all the specified elements from this collection
|
PSetX<T> |
plus(T e)
Add an element to this Collection
|
PSetX<T> |
plusAll(java.util.Collection<? extends T> list)
Add all supplied elements to this Collection
|
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c)
Deprecated.
|
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cast, combinations, combinations, combine, cycle, cycle, cycleUntil, cycleWhile, distinct, dropRight, dropUntil, dropWhile, empty, emptyUnit, filter, filterNot, flatMap, from, fromCollection, fromIterable, fromPublisher, fromStream, generate, grouped, grouped, grouped, grouped, groupedStatefullyUntil, groupedUntil, groupedUntil, groupedWhile, groupedWhile, intersperse, iterate, limit, limitLast, limitUntil, limitWhile, map, monoid, narrow, notNull, of, ofType, onEmpty, onEmptyGet, onEmptySwitch, onEmptyThrow, patternMatch, permutations, plusInOrder, range, rangeLong, removeAll, removeAll, removeAll, removeAll, retainAll, retainAll, retainAll, retainAll, reverse, scanLeft, scanLeft, scanRight, scanRight, shuffle, shuffle, singleton, skip, skipLast, skipUntil, skipWhile, slice, sliding, sliding, sorted, sorted, sorted, stream, takeRight, takeUntil, takeWhile, toPSet, toPSetX, trampoline, unfold, unit, unit, unitIterator, zip, zip, zip, zip, zip, zip, zip3, zip4, zipWithIndex
collectable, findAny, findFirst, forEach2, forEach2, forEach3, forEach3, getAtIndex, groupBy, head, headAndTail, peek, single, single, singleOptional
groupedStatefullyUntilT, groupedT, groupedUntilT, groupedWhileT, slidingT, slidingT
fixedDelay, onePer, xPer
foldable, visit
ap1, ap2, ap3, ap4, ap5, applicatives
flatMapPublisher, flatMapPublisher, flatMapPublisher, mergePublisher, mergePublisher
endsWith, endsWithIterable, firstValue, foldRight, foldRight, foldRight, foldRightMapToType, get, join, join, join, mapReduce, mapReduce, print, print, printErr, printOut, reduce, reduce, reduce, reduce, reduce, reduce, reduce, schedule, scheduleFixedDelay, scheduleFixedRate, startsWith, startsWithIterable, toConcurrentLazyCollection, toConcurrentLazyStreamable, toLazyCollection, validate, xMatch
futureOperations, lazyOperations, subscribe, traversable
seq, toCompletableFuture, toDequeX, toEvalAlways, toEvalLater, toEvalNow, toFutureStream, toFutureStream, toFutureW, toIor, toIorSecondary, toListX, toMapX, toMaybe, toOptional, toPBagX, toPMapX, toPOrderedSetX, toPQueueX, toPStackX, toPVectorX, toQueueX, toSetX, toSimpleReact, toSimpleReact, toSortedSetX, toStreamable, toTry, toValue, toValueMap, toValueSet, toXor, toXorSecondary
allMatch, 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, toString
public void forEach(java.util.function.Consumer<? super T> action)
forEach
in interface java.lang.Iterable<T>
action
- Iterable.forEach(java.util.function.Consumer)
public java.util.Iterator<T> iterator()
public int size()
public boolean contains(java.lang.Object e)
public boolean equals(java.lang.Object o)
public PSetX<T> plus(T e)
FluentCollectionX
public PSetX<T> minus(java.lang.Object e)
FluentCollectionX
public PSetX<T> plusAll(java.util.Collection<? extends T> list)
FluentCollectionX
plusAll
in interface FluentCollectionX<T>
plusAll
in interface PSetX<T>
plusAll
in interface org.pcollections.PCollection<T>
plusAll
in interface org.pcollections.PSet<T>
list
- MapPSet.plusAll(java.util.Collection)
public PSetX<T> minusAll(java.util.Collection<?> list)
FluentCollectionX
minusAll
in interface FluentCollectionX<T>
minusAll
in interface PSetX<T>
minusAll
in interface org.pcollections.PCollection<T>
minusAll
in interface org.pcollections.PSet<T>
list
- MapPSet.minusAll(java.util.Collection)
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)
@Deprecated public boolean addAll(java.util.Collection<? extends T> c)
@Deprecated public boolean retainAll(java.util.Collection<?> c)
@Deprecated public void clear()
public java.lang.String toString()
toString
in class java.lang.Object
AbstractCollection.toString()
public <R,A> R collect(java.util.stream.Collector<? super T,A,R> collector)
org.jooq.lambda.Collectable
collect
in interface CyclopsCollectable<T>
collect
in interface org.jooq.lambda.Collectable<T>
public long count()
org.jooq.lambda.Collectable
count
in interface CyclopsCollectable<T>
count
in interface org.jooq.lambda.Collectable<T>