de.jreality.scene.data
Class IntArrayArray.Array

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList
          extended by de.jreality.scene.data.DataItem
              extended by de.jreality.scene.data.DataList
                  extended by de.jreality.scene.data.IntArrayArray
                      extended by de.jreality.scene.data.IntArrayArray.Array
All Implemented Interfaces:
Serializable, Iterable, Collection, List
Enclosing class:
IntArrayArray

public static final class IntArrayArray.Array
extends IntArrayArray

This implementation of IntArrayArray stores the data as an array of 2-arrays.

Version:
1.0
Author:
Tim Hoffmann
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class de.jreality.scene.data.IntArrayArray
IntArrayArray.Array, IntArrayArray.Inlined
 
Constructor Summary
IntArrayArray.Array(int[][] data)
           
IntArrayArray.Array(int[][] data, int numPerEntry)
           
 
Method Summary
 int getLengthAt(int n)
           
 IntArray getValueAt(int n)
           
 int getValueAt(int n, int i)
           
 DataItem item(int index)
           
 
Methods inherited from class de.jreality.scene.data.IntArrayArray
getLength, toIntArrayArray, toIntArrayArray
 
Methods inherited from class de.jreality.scene.data.DataList
get, getStorageModel, readOnlyList, size, toDoubleArray, toDoubleArrayArray, toIntArray, toString
 
Methods inherited from class de.jreality.scene.data.DataItem
copyTo, copyTo, printUsage, toDoubleArray, toDoubleArrayArray, toIntArray, toStringArray, toStringArray, toStringArrayArray, toStringArrayArray
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

IntArrayArray.Array

public IntArrayArray.Array(int[][] data)

IntArrayArray.Array

public IntArrayArray.Array(int[][] data,
                           int numPerEntry)
Method Detail

getValueAt

public int getValueAt(int n,
                      int i)
Specified by:
getValueAt in class IntArrayArray

getLengthAt

public int getLengthAt(int n)
Specified by:
getLengthAt in class IntArrayArray

getValueAt

public IntArray getValueAt(int n)
Specified by:
getValueAt in class IntArrayArray

item

public DataItem item(int index)
Overrides:
item in class DataList