Interface PBag<E>
- Type Parameters:
E-
- All Superinterfaces:
Collection<E>, Iterable<E>, PCollection<E>
- All Known Implementing Classes:
MapPBag
An unordered collection allowing duplicate elements.
-
Method Summary
Methods inherited from interface Collection
contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, removeIf, size, spliterator, stream, toArray, toArray, toArray
-
Method Details
-
plus
-
plusAll
- Specified by:
plusAllin interfacePCollection<E>- Parameters:
list-- Returns:
- a collection which contains all of the elements of list and this
-
minus
-
minusAll
- Specified by:
minusAllin interfacePCollection<E>- Parameters:
list-- Returns:
- this with all elements of list completely removed
-