Uses of Interface
org.pcollections.PSet
-
Uses of PSet in org.pcollections
Subinterfaces of PSet in org.pcollectionsModifier and TypeInterfaceDescriptioninterface
PSortedSet<E>
An immutable, persistent set of distinct elements, with elements arranged in sorted order (according to someComparator
), and with various methods to obtain specific elements or ranges of elements based on this ordering (such as the least element greater than some value, or the set of elements between two values).Classes in org.pcollections that implement PSetModifier and TypeClassDescriptionfinal class
MapPSet<E>
A map-backed persistent set.class
OrderedPSet<E>
LikePSet
but preserves insertion order.final class
TreePSet<E>
An implementation ofPSortedSet
based on a self-balancing binary search tree.Methods in org.pcollections that return PSetModifier and TypeMethodDescriptionPSet.intersect
(Collection<? extends E> list) PSet.minusAll
(Collection<?> list) static <E> PSet
<E> Empty.orderedSet()
PSet.plusAll
(Collection<? extends E> list) static <E> PSet
<E> Empty.set()