|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.animation.CompactArray<T>
T
- public abstract class CompactArray<T>
Object is indexed and stored in primitive float[]
コンストラクタの概要 | |
---|---|
CompactArray()
Creates a compact array |
|
CompactArray(float[] compressedArray,
int[] index)
create array using serialized data |
メソッドの概要 | |
---|---|
void |
add(T... objArray)
Add objects. |
void |
freeze()
release objects. |
T |
get(int index,
T store)
returns the object for the given index |
int |
getCompactIndex(int objIndex)
returns the corresponding index in the compact array |
int |
getCompactObjectSize()
|
int[] |
getIndex(T... objArray)
retrun an array of indices for the given objects |
float[] |
getSerializedData()
return a float array of serialized data |
int |
getTotalObjectSize()
|
void |
serialize()
serialize this compact array |
void |
set(int index,
T value)
|
T[] |
toObjectArray()
decompress and return object array |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public CompactArray()
public CompactArray(float[] compressedArray, int[] index)
compressedArray
- index
- メソッドの詳細 |
---|
public void add(T... objArray)
objArray
- public void freeze()
public final void set(int index, T value)
index
- value
- public final T get(int index, T store)
index
- the indexstore
- an object to store the result
public final float[] getSerializedData()
public final void serialize()
public final int[] getIndex(T... objArray)
objArray
-
public int getCompactIndex(int objIndex)
objIndex
-
public final int getTotalObjectSize()
public final int getCompactObjectSize()
public final T[] toObjectArray()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |