|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.meta.java.util.VectorSugar
Untamed:
Constructor Summary | |
private |
VectorSugar()
prevent instantiation |
Method Summary | |
static void |
__printOn(Vector self,
TextWriter out)
Enabled: Btw, in java1.1, Vector.toString() blows up on null elements |
static Object |
get(Vector self,
int index)
Enabled: If the index is in bounds, return the corresponding element. |
static void |
iterate(Vector self,
AssocFunc func)
Enabled: Considered as a map, a Vector is a map from indices to values, so iterate() will call func with each successive pair of index and value, in ascending index order. |
static void |
put(Vector self,
int index,
Object newValue)
Enabled: |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private VectorSugar()
Method Detail |
public static Object get(Vector self, int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public static void iterate(Vector self, AssocFunc func)
public static void put(Vector self, int index, Object newValue)
public static void __printOn(Vector self, TextWriter out) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |