|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.universe.VectorSystemID
Field Summary | |
private java.util.Vector |
hiddenVector
|
Constructor Summary | |
VectorSystemID()
|
Method Summary | |
void |
add(SystemID SID)
|
boolean |
contains(SystemID SID)
This method returns true if the given system ID is present in the vector, and false otherwise. |
SystemID |
get(int idx)
|
SystemID |
getRandom()
This method returns the ID of a star system randomly selected from those present in the vector. |
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Vector hiddenVector
Constructor Detail |
public VectorSystemID()
Method Detail |
public void add(SystemID SID)
public SystemID get(int idx)
public int size()
public boolean contains(SystemID SID)
public SystemID getRandom()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |