|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.javaGenes.forceFields.Species2IndexMap
used to convert a Species object to a array index for fast processing.
Field Summary | |
protected java.util.Hashtable |
table
|
Constructor Summary | |
Species2IndexMap()
|
Method Summary | |
int |
getIndex(Species species)
|
void |
setMap(Species species,
int index)
enter a species and index into the map |
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Hashtable table
Constructor Detail |
public Species2IndexMap()
Method Detail |
public void setMap(Species species, int index)
public int getIndex(Species species)
public int size()
|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |