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

Constructor Index

 o CoordMapV()
 o CoordMapV(CoordMapV)
copy constructor
 o CoordMapV(int, int)

Method Index

 o addElement(Vector)
 o addKey(float[])
 o addKey(int[])
 o addKey(Vector)
 o coordAt(int, int)
 o copy()
 o elementAt(int)
 o equalCoords(Vector)
 o equals(Object)
Compares two Objects for equality.
 o floatCoordAt(int, int)
 o floatKeyAt(int)
 o getCoordinates()
 o getNumberOfElements()
 o getNumberOfKeys()
 o insertElementAt(Vector, int)
 o insertKeyAt(float[], int)
 o insertKeyAt(int[], int)
 o insertKeyAt(Vector, int)
 o intCoordAt(int, int)
 o intKeyAt(int)
 o keyAt(int)
 o rand()
 o removeElementAt(int)
 o removeKeyAt(int)
 o setCoordAt(float, int, int)
 o setCoordAt(int, int, int)
 o setCoordAt(Object, int, int)
 o setElementAt(Vector, int)
 o setKeyAt(float[], int)
 o setKeyAt(int[], int)
 o setKeyAt(Vector, int)
 o toString()
Returns a string representation of the object.

Constructors

 o CoordMapV
 public CoordMapV()
 o CoordMapV
 public CoordMapV(int keys,
                  int elements)
 o CoordMapV
 protected CoordMapV(CoordMapV src)
copy constructor

Methods

 o copy
 public JamObject copy()
 o rand
 public void rand()
 o equals
 public boolean equals(Object spc2)
Compares two Objects for equality.

Overrides:
equals in class Object
 o equalCoords
 protected boolean equalCoords(Vector coord2)
 o getCoordinates
 public CoordMap getCoordinates()
 o getNumberOfElements
 public int getNumberOfElements()
 o getNumberOfKeys
 public int getNumberOfKeys()
 o setCoordAt
 public void setCoordAt(float loc,
                        int key,
                        int element)
 o setCoordAt
 public void setCoordAt(int loc,
                        int key,
                        int element)
 o setCoordAt
 public void setCoordAt(Object loc,
                        int key,
                        int element)
 o floatCoordAt
 public float floatCoordAt(int key,
                           int element)
 o intCoordAt
 public int intCoordAt(int key,
                       int element)
 o coordAt
 public Object coordAt(int key,
                       int element)
 o addKey
 public void addKey(float coords[])
 o addKey
 public void addKey(int coords[])
 o addKey
 public void addKey(Vector coords)
 o insertKeyAt
 public void insertKeyAt(float coords[],
                         int key)
 o insertKeyAt
 public void insertKeyAt(int coords[],
                         int key)
 o insertKeyAt
 public void insertKeyAt(Vector coords,
                         int key)
 o setKeyAt
 public void setKeyAt(float coords[],
                      int key)
 o setKeyAt
 public void setKeyAt(int coords[],
                      int key)
 o setKeyAt
 public void setKeyAt(Vector coords,
                      int key)
 o removeKeyAt
 public void removeKeyAt(int key)
 o floatKeyAt
 public float[] floatKeyAt(int key)
 o intKeyAt
 public int[] intKeyAt(int key)
 o keyAt
 public Vector keyAt(int key)
 o addElement
 public void addElement(Vector coords)
 o insertElementAt
 public void insertElementAt(Vector coords,
                             int element)
 o setElementAt
 public void setElementAt(Vector coords,
                          int element)
 o removeElementAt
 public void removeElementAt(int element)
 o elementAt
 public Vector elementAt(int element)
 o 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