All Packages Class Hierarchy This Package Previous Next Index
Class isf.vector.CoordMapV
java.lang.Object
|
+----isf.vector.CoordMapV
- public class CoordMapV
- extends Object
- implements CoordMap
coordinate representation for IsfSpaces
using a Vector of Vectors Isfs
(fundamentally just a dynamic 2-D array)
maybe the fast axis should loop over elements
(currently it loops over keys)
- See Also:
- IsfSpace
-
CoordMapV()
-
-
CoordMapV(CoordMapV)
- copy constructor
-
CoordMapV(int, int)
-
-
addElement(Vector)
-
-
addKey(float[])
-
-
addKey(int[])
-
-
addKey(Vector)
-
-
coordAt(int, int)
-
-
copy()
-
-
elementAt(int)
-
-
equalCoords(Vector)
-
-
equals(Object)
- Compares two Objects for equality.
-
floatCoordAt(int, int)
-
-
floatKeyAt(int)
-
-
getCoordinates()
-
-
getNumberOfElements()
-
-
getNumberOfKeys()
-
-
insertElementAt(Vector, int)
-
-
insertKeyAt(float[], int)
-
-
insertKeyAt(int[], int)
-
-
insertKeyAt(Vector, int)
-
-
intCoordAt(int, int)
-
-
intKeyAt(int)
-
-
keyAt(int)
-
-
rand()
-
-
removeElementAt(int)
-
-
removeKeyAt(int)
-
-
setCoordAt(float, int, int)
-
-
setCoordAt(int, int, int)
-
-
setCoordAt(Object, int, int)
-
-
setElementAt(Vector, int)
-
-
setKeyAt(float[], int)
-
-
setKeyAt(int[], int)
-
-
setKeyAt(Vector, int)
-
-
toString()
- Returns a string representation of the object.
CoordMapV
public CoordMapV()
CoordMapV
public CoordMapV(int keys,
int elements)
CoordMapV
protected CoordMapV(CoordMapV src)
- copy constructor
copy
public JamObject copy()
rand
public void rand()
equals
public boolean equals(Object spc2)
- Compares two Objects for equality.
- Overrides:
- equals in class Object
equalCoords
protected boolean equalCoords(Vector coord2)
getCoordinates
public CoordMap getCoordinates()
getNumberOfElements
public int getNumberOfElements()
getNumberOfKeys
public int getNumberOfKeys()
setCoordAt
public void setCoordAt(float loc,
int key,
int element)
setCoordAt
public void setCoordAt(int loc,
int key,
int element)
setCoordAt
public void setCoordAt(Object loc,
int key,
int element)
floatCoordAt
public float floatCoordAt(int key,
int element)
intCoordAt
public int intCoordAt(int key,
int element)
coordAt
public Object coordAt(int key,
int element)
addKey
public void addKey(float coords[])
addKey
public void addKey(int coords[])
addKey
public void addKey(Vector coords)
insertKeyAt
public void insertKeyAt(float coords[],
int key)
insertKeyAt
public void insertKeyAt(int coords[],
int key)
insertKeyAt
public void insertKeyAt(Vector coords,
int key)
setKeyAt
public void setKeyAt(float coords[],
int key)
setKeyAt
public void setKeyAt(int coords[],
int key)
setKeyAt
public void setKeyAt(Vector coords,
int key)
removeKeyAt
public void removeKeyAt(int key)
floatKeyAt
public float[] floatKeyAt(int key)
intKeyAt
public int[] intKeyAt(int key)
keyAt
public Vector keyAt(int key)
addElement
public void addElement(Vector coords)
insertElementAt
public void insertElementAt(Vector coords,
int element)
setElementAt
public void setElementAt(Vector coords,
int element)
removeElementAt
public void removeElementAt(int element)
elementAt
public Vector elementAt(int element)
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index