Uses of Interface
org.pcollections.PSet
-
-
Uses of PSet in org.pcollections
Subinterfaces of PSet in org.pcollections Modifier and Type Interface Description interface
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 PSet Modifier and Type Class Description class
MapPSet<E>
A map-backed persistent set.class
OrderedPSet<E>
LikePSet
but preserves insertion order.class
TreePSet<E>
An implementation ofPSortedSet
based on a self-balancing binary search tree.Methods in org.pcollections that return PSet Modifier and Type Method Description default PSet<E>
PSet. intersect(java.util.Collection<? extends E> list)
PSet<E>
PSet. minus(java.lang.Object e)
PSet<E>
PSet. minusAll(java.util.Collection<?> list)
static <E> PSet<E>
Empty. orderedSet()
PSet<E>
PSet. plus(E e)
PSet<E>
PSet. plusAll(java.util.Collection<? extends E> list)
static <E> PSet<E>
Empty. set()
-