drasys.or.cont
Class OrderedSet
java.lang.Object
|
+--drasys.or.cont.OrderedSet
- public class OrderedSet
- extends java.lang.Object
- implements java.io.Serializable
A set of objects that are indexed sequentially starting at zero.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
OrderedSet
public OrderedSet()
OrderedSet
public OrderedSet(int capacity)
removeAllElements
public void removeAllElements()
size
public int size()
elements
public java.util.Enumeration elements()
indices
public java.util.Enumeration indices()
removeElement
public void removeElement(java.lang.Object element)
throws java.lang.NullPointerException
addElement
public int addElement(java.lang.Object element)
throws java.lang.NullPointerException
getIndex
public int getIndex(java.lang.Object element)
Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com