Package org.jbox2d.pooling.arrays
Class FloatArray
java.lang.Object
org.jbox2d.pooling.arrays.FloatArray
public class FloatArray
extends java.lang.Object
Not thread safe float[] pooling.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat[]
get
(int argLength) protected float[]
getInitializedArray
(int argLength) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
map
private final java.util.HashMap<java.lang.Integer,float[]> map
-
-
Constructor Details
-
FloatArray
public FloatArray()
-
-
Method Details
-
get
public float[] get(int argLength) -
getInitializedArray
protected float[] getInitializedArray(int argLength)
-