org.pcollections
Class Empty

java.lang.Object
  extended by org.pcollections.Empty

public final class Empty
extends Object

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

Author:
mtklein

Method Summary
static
<E> PBag<E>
bag()
           
static
<K,V> PMap<K,V>
map()
           
static
<E> POrderedSet<E>
orderedSet()
           
static
<E> PQueue<E>
queue()
           
static
<E> PSet<E>
set()
           
static
<E> PStack<E>
stack()
           
static
<E> PVector<E>
vector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

stack

public static <E> PStack<E> stack()

queue

public static <E> PQueue<E> queue()

vector

public static <E> PVector<E> vector()

set

public static <E> PSet<E> set()

orderedSet

public static <E> POrderedSet<E> orderedSet()

bag

public static <E> PBag<E> bag()

map

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


Copyright © 2011. All Rights Reserved.