Class Empty
java.lang.Object
org.pcollections.Empty
A static utility class for getting empty PCollections backed by the 'default' implementations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <E> PBag<E> bag()static <K,V> PMap <K, V> map()static <K,V> PMap <K, V> static <E> PSet<E> static <E> PQueue<E> queue()static <E> PSet<E> set()static <K extends Comparable<? super K>, V>
PSortedMap<K, V> static <K,V> PSortedMap <K, V> sortedMap(Comparator<? super K> comparator) static <E extends Comparable<? super E>>
PSortedSet<E> static <E> PSortedSet<E> sortedSet(Comparator<? super E> comparator) static <E> PStack<E> stack()static <E> PVector<E> vector()
-
Constructor Details
-
Empty
private Empty()
-
-
Method Details
-
stack
-
queue
-
vector
-
set
-
orderedMap
-
orderedSet
-
bag
-
map
-
sortedSet
-
sortedSet
-
sortedMap
-
sortedMap
-