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
    Modifier and Type
    Field
    Description
    private final java.util.HashMap<java.lang.Integer,int[]>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int[]
    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)