Package loci.poi.util
Class IntList2d
java.lang.Object
loci.poi.util.IntList2d
Provides an interface for interacting with 2d arrays of integers. This
implementation will return 0 for items not yet allocated and automatically
increase the array size for set operations. You never get an index out of
bounds.
- Version:
- $Id: IntList2d.java 496526 2007-01-15 22:46:35Z markt $
- Author:
- Glen Stampoultzis (glens at apache.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintget(int col, int row) booleanisAllocated(int col, int row) voidset(int col, int row, int value)
-
Constructor Details
-
IntList2d
public IntList2d()
-
-
Method Details
-
get
public int get(int col, int row) -
set
public void set(int col, int row, int value) -
isAllocated
public boolean isAllocated(int col, int row)
-