Interface PQueue<E>
- All Superinterfaces:
Collection<E>, Iterable<E>, PCollection<E>, Queue<E>
- All Known Implementing Classes:
AmortizedPQueue
A persistent queue.
-
Method Summary
Methods inherited from interface Collection
contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, removeIf, size, spliterator, stream, toArray, toArray, toArray
-
Method Details
-
minus
-
plus
-
plusAll
- Specified by:
plusAllin interfacePCollection<E>- Parameters:
list-- Returns:
- a collection which contains all of the elements of list and this
-
minus
- Specified by:
minusin interfacePCollection<E>- Parameters:
e-- Returns:
- this with a single instance of e removed, if e is in this
-
minusAll
- Specified by:
minusAllin interfacePCollection<E>- Parameters:
list-- Returns:
- this with all elements of list completely removed
-
offer
-
poll
-
remove
-