galois.objects
Class BagBuilder<T>

java.lang.Object
  extended by galois.objects.BagBuilder<T>
Type Parameters:
T - type of elements contained in bag

public class BagBuilder<T>
extends Object

Builds Bags.


Constructor Summary
BagBuilder()
           
 
Method Summary
 Bag<T> create()
          Creates a new bag of elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BagBuilder

public BagBuilder()
Method Detail

create

public Bag<T> create()
Creates a new bag of elements.

Type Parameters:
T - type of elements contained in bag
Returns:
a new bag