Class IntArray


  • public class IntArray
    extends java.lang.Object
    Not thread safe int[] pooling
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.HashMap<java.lang.Integer,​int[]> map  
    • Constructor Summary

      Constructors 
      Constructor Description
      IntArray()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • map

        private final java.util.HashMap<java.lang.Integer,​int[]> map
    • Constructor Detail

      • IntArray

        public IntArray()
    • Method Detail

      • get

        public int[] get​(int argLength)
      • getInitializedArray

        protected int[] getInitializedArray​(int argLength)