Top Description Constructors Methods
org.pcollections

public final Class Empty

extends Object
Class Inheritance
Imports
java.util.Comparator

A static utility class for getting empty PCollections backed by the 'default' implementations.
Author
mtklein

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <E> PBag<E>
bag()

public static <K, V> PMap<K, V>
map()

public static <K, V> PMap<K, V>
public static <E> PSet<E>
public static <E> PQueue<E>
public static <E> PSet<E>
set()

public static <K extends Comparable<? super K>, V> PSortedMap<K, V>
public static <K, V> PSortedMap<K, V>
sortedMap(final Comparator<? super K> comparator)

public static <E extends Comparable<? super E>> PSortedSet<E>
public static <E> PSortedSet<E>
sortedSet(final Comparator<? super E> comparator)

public static <E> PStack<E>
public static <E> PVector<E>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Emptyback to summary
private Empty()

Method Detail

bagback to summary
public static <E> PBag<E> bag()
mapback to summary
public static <K, V> PMap<K, V> map()
orderedMapback to summary
public static <K, V> PMap<K, V> orderedMap()
orderedSetback to summary
public static <E> PSet<E> orderedSet()
queueback to summary
public static <E> PQueue<E> queue()
setback to summary
public static <E> PSet<E> set()
sortedMapback to summary
public static <K extends Comparable<? super K>, V> PSortedMap<K, V> sortedMap()
sortedMapback to summary
public static <K, V> PSortedMap<K, V> sortedMap(final Comparator<? super K> comparator)
sortedSetback to summary
public static <E extends Comparable<? super E>> PSortedSet<E> sortedSet()
sortedSetback to summary
public static <E> PSortedSet<E> sortedSet(final Comparator<? super E> comparator)
stackback to summary
public static <E> PStack<E> stack()
vectorback to summary
public static <E> PVector<E> vector()