All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface org.webmacro.util.Bag

public interface Bag
A dictionary like interface, but more restricted--provides a common interface for generic containers which are less functional than a dictionary, but similar in nature.


Method Index

 o get(String)
Get an item from the bag
 o put(String, Object)
Add an item to the bag
 o remove(String)
Remove an item from the bag

Methods

 o put
 public abstract void put(String itemName,
                          Object item)
Add an item to the bag

 o get
 public abstract Object get(String itemName)
Get an item from the bag

 o remove
 public abstract void remove(String itemName)
Remove an item from the bag


All Packages  Class Hierarchy  This Package  Previous  Next  Index