org.erights.e.elib.util
Class DynamicMap

java.lang.Object
  |
  +--org.erights.e.elib.util.DynamicMap

public class DynamicMap
extends Object

Untamed:


Field Summary
private  FlexList myElems
           
 
Constructor Summary
DynamicMap(ConstList elems)
          Enabled: Create a new dynamic collection.
 
Method Summary
 void addElems(ConstList elems)
          Enabled: Add new objects to the collection.
(package private)  void addElemsAt(ConstList elems, int loc)
          Add new objects to the collection at a specific location.
 DynamicMapEnumeration elems()
          Enabled: Return an Enumeration of the elements of the collection.
 Object get(int n)
          Enabled: Return the nth member of the collection.
 int size()
          Enabled: Return the current size of the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myElems

private final FlexList myElems
Constructor Detail

DynamicMap

public DynamicMap(ConstList elems)
Enabled: Create a new dynamic collection.

Parameters:
elems - The objects which are to be the initial members of the collection.
Method Detail

addElems

public void addElems(ConstList elems)
Enabled: Add new objects to the collection.

Parameters:
elems - The objects which are to be added to the collection.

addElemsAt

void addElemsAt(ConstList elems,
                int loc)
Add new objects to the collection at a specific location.

Parameters:
elems - The objects which are to be added to the collection.

elems

public DynamicMapEnumeration elems()
Enabled: Return an Enumeration of the elements of the collection. This Enumeration will include any elements that get added to the collection before the user of the Enumeration enumerates all the elements.


size

public int size()
Enabled: Return the current size of the collection.


get

public Object get(int n)
Enabled: Return the nth member of the collection.



comments?