All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface ibs.util.IValueSet

public interface IValueSet
Interface IValueSet is a container class that can be instantiated directly or extended by other classes to store objects and access them as needed. This class can be instantiated by supplying a name (an identifier) for the instantiated object and optionally, by specifying maximum capacity for the container.

Each IValueSet container can be used to maintain a particular set of objects. That means, if you needed to maintain multiple sets of objects, you will instantiate multiple objects of type ValueSet.

For example, one of the primary reason we designed this container was to allow EbfServer to keep track of multiple 'Keys' and multiple 'KeyValues' for each 'Key' in the HTML form submitted by the HTTP client. What we do is, ... instantiate a new ValueSet for each 'Key'.

See Also:
IValueSet

Method Index

 o count()
 o getObject()
 o getObjectAt(int)
 o getValueSetName()
 o hasMoreOcc()
 o list(Writer)
 o moveFirst()
 o moveLast()
 o moveNext()
 o movePrev()
 o newObject(Object)
 o removeObjectAt(int)
 o setOcc(int)
 o totalOcc()
 o whereAmI()

Methods

 o newObject
 public abstract void newObject(Object value) throws OutOfRangeException
 o moveFirst
 public abstract void moveFirst()
 o moveLast
 public abstract void moveLast()
 o totalOcc
 public abstract int totalOcc()
 o count
 public abstract int count()
 o setOcc
 public abstract void setOcc(int occ)
 o getValueSetName
 public abstract String getValueSetName()
 o whereAmI
 public abstract int whereAmI()
 o moveNext
 public abstract void moveNext() throws OutOfRangeException
 o movePrev
 public abstract void movePrev() throws OutOfRangeException
 o hasMoreOcc
 public abstract boolean hasMoreOcc()
 o getObject
 public abstract Object getObject() throws OccNotFoundException
 o getObjectAt
 public abstract Object getObjectAt(int occ) throws OccNotFoundException
 o removeObjectAt
 public abstract void removeObjectAt(int occ) throws OccNotFoundException
 o list
 public abstract void list(Writer w)

All Packages  Class Hierarchy  This Package  Previous  Next  Index