Uses of Interface
org.pcollections.PMap
-
Uses of PMap in org.pcollections
Subinterfaces of PMap in org.pcollectionsModifier and TypeInterfaceDescriptioninterfacePSortedMap<K,V> An immutable, persistent map from keys of type K to values of type V, with keys arranged in sorted order (according to someComparator), and with various methods to obtain specific mappings or ranges of mappings based on this ordering (such as the least key greater than some instance of type K, or the sub-map with keys between two instances of type K).Classes in org.pcollections that implement PMapModifier and TypeClassDescriptionfinal classHashPMap<K,V> A persistent map from keys to values.final classIntTreePMap<V>An efficient persistent map from integer keys to values.classOrderedPMap<K,V> LikePMapbut preserves insertion order.final classTreePMap<K,V> An implementation ofPSortedMapbased on a self-balancing binary search tree.Fields in org.pcollections declared as PMapModifier and TypeFieldDescriptionOrderedPMap.idsOrderedPSet.idsHashPMap.intMap/ PRIVATE CONSTRUCTORS ////MapPBag.map/ PRIVATE CONSTRUCTORS ////MapPSet.map/ PRIVATE CONSTRUCTORS ////Methods in org.pcollections that return PMapModifier and TypeMethodDescriptionstatic <K,V> PMap <K, V> Empty.map()PMap.minusAll(Collection<?> keys) static <K,V> PMap <K, V> Empty.orderedMap()Methods in org.pcollections with parameters of type PMapModifier and TypeMethodDescriptionstatic <K,V> HashPMap <K, V> static <E> MapPBag<E> static <E> MapPSet<E> static <E> MapPSet<E> static <E> MapPSet<E> MapPSet.from(PMap<E, ?> map, Collection<? extends E> list) private static int/ PRIVATE STATIC UTILITIES ////Constructors in org.pcollections with parameters of type PMapModifierConstructorDescriptionprivateprivateprivateprivateOrderedPMap(PMap<K, Long> ids, PSortedMap<Long, Map.Entry<K, V>> entries) privateOrderedPSet(PMap<E, Long> ids, PSortedMap<Long, E> elements)