org.apache.poi.util
Class IntList2d
java.lang.Object
org.apache.poi.util.IntList2d
public class IntList2d
- extends java.lang.Object
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)
Method Summary |
int |
get(int col,
int row)
|
boolean |
isAllocated(int col,
int row)
|
void |
set(int col,
int row,
int value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntList2d
public IntList2d()
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)
Copyright 2008 The Apache Software Foundation or
its licensors, as applicable.