|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Grid2D is a simple two-dimensional Grid, indexed by (i,j).
Nested Class Summary |
Nested classes inherited from class net.walend.grid.Grid2D |
Grid2D.Dimensions2D |
Field Summary |
Fields inherited from interface net.walend.grid.Grid2D |
DIMENSIONS2D, I, J |
Method Summary | |
java.lang.Object |
put(int i,
int j,
java.lang.Object object)
Replaces the object at i,j with object. |
java.lang.Object |
take(int i,
int j)
Replaces the object at i,j with fill. |
Methods inherited from interface net.walend.grid.MutableGrid |
put, take |
Methods inherited from interface net.walend.grid.Grid |
addressIterator, addressOf, containsAddress, containsDimension, get, getDimensions, getFillObject, maxAddress, stripeIterator |
Methods inherited from interface net.walend.collection.HasState |
getPrincipleInterface, sameStateAs |
Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface net.walend.grid.Grid2D |
containsAddress, get, iStripeIterator, jStripeIterator, sameGrid2DAs, sizeI, sizeJ |
Method Detail |
public java.lang.Object put(int i, int j, java.lang.Object object) throws OffGridException
OffGridException
public java.lang.Object take(int i, int j) throws OffGridException
OffGridException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |