public int [ ] getIntArray ( int size , boolean fillWithZeros ) { int [ ] array = getArray ( intArrayCache , size ) ; if ( array == null ) array = new int [ size ] ; else if ( fillWithZeros ) Arrays . fill ( array , 0 ) ; return array ; }
This is like getByteArray but for int arrays .