story.dbcore.misc
Class ImmutableVector
java.lang.Object
story.dbcore.misc.ImmutableVector
public class ImmutableVector
- extends java.lang.Object
A read-only Vector. Or, more accurately, a read-only interface for
a Vector. The subject Vector is passed by reference so be careful
not to change it elsewhere.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImmutableVector
public ImmutableVector(java.util.Vector vector)
elements
public java.util.Enumeration elements()
size
public int size()
get
public java.lang.Object get(int index)
contains
public boolean contains(java.lang.Object element)
getMutableCopy
public java.util.Vector getMutableCopy()
Copyright © 2011 David K. Elson. All Rights Reserved.