de.jreality.scene.data
Class DoubleArrayArray.Array
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
de.jreality.scene.data.DataItem
de.jreality.scene.data.DataList
de.jreality.scene.data.DoubleArrayArray
de.jreality.scene.data.DoubleArrayArray.Array
- All Implemented Interfaces:
- Serializable, Iterable, Collection, List
- Enclosing class:
- DoubleArrayArray
public static final class DoubleArrayArray.Array
- extends DoubleArrayArray
This implementation of DoubleArrayArray stores the data as an array of 2-arrays.
- Version:
- 1.0
- Author:
- Tim Hoffmann
- See Also:
- Serialized Form
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList |
DoubleArrayArray.Array
public DoubleArrayArray.Array(double[][] data)
DoubleArrayArray.Array
public DoubleArrayArray.Array(double[][] data,
int numPerEntry)
getValueAt
public double getValueAt(int n,
int i)
- Specified by:
getValueAt
in class DoubleArrayArray
getLength
public int getLength()
- Specified by:
getLength
in class DoubleArrayArray
getLengthAt
public int getLengthAt(int n)
- Specified by:
getLengthAt
in class DoubleArrayArray
getValueAt
public DoubleArray getValueAt(int n)
- Specified by:
getValueAt
in class DoubleArrayArray
item
public DataItem item(int index)
- Overrides:
item
in class DataList