Package org.jbox2d.pooling.arrays
Class IntArray
java.lang.Object
org.jbox2d.pooling.arrays.IntArray
public class IntArray
extends java.lang.Object
Not thread safe int[] pooling
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]
get
(int argLength) protected int[]
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,int[]> map
-
-
Constructor Details
-
IntArray
public IntArray()
-
-
Method Details
-
get
public int[] get(int argLength) -
getInitializedArray
protected int[] getInitializedArray(int argLength)
-