triptracker.client.map.core
Class Matrix2D<E>

java.lang.Object
  extended by triptracker.client.map.core.Matrix2D<E>
All Implemented Interfaces:
Iterable<E>

public class Matrix2D<E>
extends Object
implements Iterable<E>


Constructor Summary
Matrix2D()
           
Matrix2D(E[][] matrix)
           
 
Method Summary
 E get(int i, int j)
           
 int getLength(int dimension)
           
 E[][] getMatrix()
           
 Iterator<E> iterator()
           
 void set(int i, int j, E value)
           
 void setMatrix(E[][] matrix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrix2D

public Matrix2D()

Matrix2D

public Matrix2D(E[][] matrix)
Method Detail

setMatrix

public void setMatrix(E[][] matrix)

getMatrix

public E[][] getMatrix()

set

public void set(int i,
                int j,
                E value)

get

public E get(int i,
             int j)

getLength

public int getLength(int dimension)

iterator

public Iterator<E> iterator()
Specified by:
iterator in interface Iterable<E>


Copyright © 2006 Team Trip Tracker. All Rights Reserved.