public class PQueueXImpl<T> extends java.lang.Object implements PQueueX<T>
| Constructor and Description |
|---|
PQueueXImpl() |
| 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) |
boolean |
contains(java.lang.Object e) |
boolean |
containsAll(java.util.Collection<?> c) |
long |
count() |
T |
element() |
boolean |
equals(java.lang.Object o) |
void |
forEach(java.util.function.Consumer<? super T> action) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
org.pcollections.PQueue<T> |
minus() |
PQueueX<T> |
minus(java.lang.Object e) |
PQueueX<T> |
minusAll(java.util.Collection<?> list) |
boolean |
offer(T o)
Deprecated.
|
java.util.stream.Stream<T> |
parallelStream() |
T |
peek() |
PQueueX<T> |
plus(T e) |
PQueueX<T> |
plusAll(java.util.Collection<? extends T> list) |
T |
poll()
Deprecated.
|
T |
remove()
Deprecated.
|
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)
Deprecated.
|
int |
size() |
java.util.Spliterator<T> |
spliterator() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcast, combinations, combinations, combine, cycle, cycle, cycleUntil, cycleWhile, distinct, dropRight, dropUntil, dropWhile, empty, emptyUnit, filter, filterNot, flatMap, from, fromCollection, fromIterable, fromPublisher, fromStream, grouped, grouped, grouped, grouped, groupedStatefullyWhile, groupedUntil, groupedUntil, groupedWhile, groupedWhile, intersperse, limit, limitLast, limitUntil, limitWhile, map, monoid, notNull, of, ofType, onEmpty, onEmptyGet, onEmptyThrow, patternMatch, permutations, plusInOrder, 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, toPQueueX, toPSet, trampoline, unit, unit, unitIterator, zip, zip, zip, zip3, zip4, zipStream, zipWithIndexcollectable, findAny, findFirst, forEach2, forEach2, forEach3, forEach3, getAtIndex, groupBy, head, headAndTail, peek, single, single, singleOptionalxMatchfixedDelay, onePer, xPerap1, ap2, ap3, ap4, ap5, applicativesflatMapPublisher, flatMapPublisher, flatMapPublisher, mergePublisher, mergePublisherallMatch, anyMatch, avg, avg, avgDouble, avgInt, avgLong, count, countDistinct, countDistinct, countDistinctBy, countDistinctBy, max, max, max, max, maxBy, maxBy, median, median, medianBy, medianBy, min, min, min, min, minBy, minBy, mode, noneMatch, percentile, percentile, percentileBy, percentileBy, sum, sum, sumDouble, sumInt, sumLong, toCollection, toList, toList, toMap, toSet, toSet, toString, toStringpublic 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()
size in interface java.util.Collection<T>MapPSet.size()public boolean contains(java.lang.Object e)
contains in interface java.util.Collection<T>e - MapPSet.contains(java.lang.Object)public boolean equals(java.lang.Object o)
equals in interface java.util.Collection<T>equals in class java.lang.Objecto - AbstractSet.equals(java.lang.Object)public PQueueX<T> plusAll(java.util.Collection<? extends T> list)
plusAll in interface FluentCollectionX<T>plusAll in interface PQueueX<T>plusAll in interface org.pcollections.PCollection<T>plusAll in interface org.pcollections.PQueue<T>list - MapPSet.plusAll(java.util.Collection)public PQueueX<T> minusAll(java.util.Collection<?> list)
minusAll in interface FluentCollectionX<T>minusAll in interface PQueueX<T>minusAll in interface org.pcollections.PCollection<T>minusAll in interface org.pcollections.PQueue<T>list - MapPSet.minusAll(java.util.Collection)public boolean isEmpty()
isEmpty in interface java.util.Collection<T>AbstractCollection.isEmpty()public int hashCode()
hashCode in interface java.util.Collection<T>hashCode in class java.lang.ObjectAbstractSet.hashCode()public java.lang.Object[] toArray()
toArray in interface java.util.Collection<T>AbstractCollection.toArray()public boolean removeAll(java.util.Collection<?> c)
public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<T>a - AbstractCollection.toArray(java.lang.Object[])public boolean add(T e)
public boolean remove(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<T>c - AbstractCollection.containsAll(java.util.Collection)@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.ObjectAbstractCollection.toString()public <R,A> R collect(java.util.stream.Collector<? super T,A,R> collector)
collect in interface CyclopsCollectable<T>collect in interface org.jooq.lambda.Collectable<T>public long count()
count in interface CyclopsCollectable<T>count in interface org.jooq.lambda.Collectable<T>public org.pcollections.PQueue<T> minus()
minus in interface org.pcollections.PQueue<T>PQueue.minus()public boolean offer(T o)
public T poll()
public T remove()
public T element()
element in interface java.util.Queue<T>Queue.element()public T peek()
peek in interface java.util.Queue<T>Queue.peek()public boolean removeIf(java.util.function.Predicate<? super T> filter)
removeIf in interface java.util.Collection<T>filter - Collection.removeIf(java.util.function.Predicate)public java.util.Spliterator<T> spliterator()