| java.lang.Object org.cougaar.mlm.debug.ui.draw.OMVector
OMVector | public class OMVector (Code) | | Class OMVector
a vector of objects and an encapsulated enumerator.
|
OMVector | public OMVector()(Code) | | |
OMVector | public OMVector(int capacity)(Code) | | |
elementAt | public Object elementAt(int index)(Code) | | elementAt() - returns object at the specified index or an
exception is thrown
|
hasMoreElements | public boolean hasMoreElements()(Code) | | hasMoreElements()
|
nextElement | public Object nextElement(boolean wrap)(Code) | | nextElement(true) - returns the next element, wrap if we've
reached the end of the array, or return null if array is zero
sized.
|
previousElement | public Object previousElement()(Code) | | previousElement() - returns elements starting at the end of
the vector and working to the front. Behavior is undefined if
you add to or remove elements from the Vector while you're
iterating. does not wrap the index.
|
previousElement | public Object previousElement(boolean wrap)(Code) | | previousElement(wrap) - returns elements starting at the end
of the vector, working to the front. Behavior is undefined if
you add to or remove elements from the Vector while you're
iterating. wraps the index.
|
removeAt | public void removeAt(int index)(Code) | | |
resetEnumerator | public void resetEnumerator()(Code) | | resetEnumerator() - resets the Enumerator to a starting
state. the state of the enumerator is invalid until the first
call to resetEnumerator().
|
|
|