|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lamatek.util.VectorToArray
public class VectorToArray
A utility class to create an array from an instance of
Vector. You can call the methods in this class directly or use
the blanket class ArrayUtil.
| Constructor Summary | |
|---|---|
VectorToArray()
|
|
| Method Summary | |
|---|---|
static java.lang.Object[] |
createObjectArray(java.util.Vector v)
A static method that creates an array of type Object from the elements in the supplied Vector. |
static java.lang.String[] |
createStringArray(java.util.Vector v)
A convenience method that creates an array of type String from the elements in the supplied Vector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VectorToArray()
| Method Detail |
|---|
public static java.lang.Object[] createObjectArray(java.util.Vector v)
v - - An instance of java.util.Vector
public static java.lang.String[] createStringArray(java.util.Vector v)
createObjectArray method.
v - - An instance of java.util.Vector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||