org.xith3d.utility.general
Interface SparseMatrixInterface<T>

All Known Implementing Classes:
SparseClusteredMatrix

public interface SparseMatrixInterface<T>

Interface for sparse matrices :Id: SparseMatrixInterface.java,v 1.3 2003/02/24 00:13:51 wurp Exp $ :Log: SparseMatrixInterface.java,v $ Revision 1.3 2003/02/24 00:13:51 wurp Formatted all java code for cvs (strictSunConvention.xml) Revision 1.2 2001/06/20 04:05:42 wurp added log4j. Revision 1.1 2000/12/05 20:49:14 wizofid Committing new engine code


Method Summary
 T elementAt(int x, int z)
           
 void insertAt(int x, int z, T obj)
          Inserts an object into the matrix at the coordinates specified.
 void removeAt(int x, int z)
          Remove the object at the specified location.
 

Method Detail

insertAt

void insertAt(int x,
              int z,
              T obj)
Inserts an object into the matrix at the coordinates specified.


removeAt

void removeAt(int x,
              int z)
Remove the object at the specified location. If there is no object there then nothing happens.


elementAt

T elementAt(int x,
            int z)
Returns:
the object at the location specicied. If no object is there then null is returned;