org.apache.poi.util
Class DoubleList2d

java.lang.Object
  extended byorg.apache.poi.util.DoubleList2d

public class DoubleList2d
extends java.lang.Object

Provides an interface for interacting with 2d arrays of doubles. 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: DoubleList2d.java,v 1.1 2004/04/18 13:02:48 glens Exp $
Author:
Glen Stampoultzis (glens at apache.org)

Constructor Summary
DoubleList2d()
           
 
Method Summary
 double get(int col, int row)
           
 void set(int col, int row, double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleList2d

public DoubleList2d()
Method Detail

get

public double get(int col,
                  int row)

set

public void set(int col,
                int row,
                double value)


Copyright 2005 The Apache Software Foundation or its licensors, as applicable.