|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.scene.plugins.blender.file.DynamicArray<T>
T
- the type of stored data in the arraypublic class DynamicArray<T>
An array that can be dynamically modified/
Constructor Summary | |
---|---|
DynamicArray(int[] tableSizes)
Constructor. |
|
DynamicArray(int[] tableSizes,
T[] data)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
T |
get(int... position)
This method returns a value on the specified position in multidimensional array. |
T |
get(int position)
This method returns a value on the specified position. |
int |
getTotalSize()
This method returns the total amount of data stored in the array. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DynamicArray(int[] tableSizes) throws BlenderFileException
tableSizes
- the sizes of the table
BlenderFileException
- an exception is thrown if one of the sizes is not a positive numberpublic DynamicArray(int[] tableSizes, T[] data) throws BlenderFileException
tableSizes
- the sizes of the table
BlenderFileException
- an exception is thrown if one of the sizes is not a positive numberMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public T get(int position)
position
- the position of the data
public T get(int... position)
position
- the position of the data indices of data position
public int getTotalSize()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |