code: public int[] get(int size) {
          if (array == null || size > array.length)
              return array = new int[size];
  
          return array;
      }
docs: Returns {@code int[]} array. If passed {@code #size} argument is more than actual size of CachedIntArray, then
  CachedIntArray will increase its size to {@code size}.
  
  @param size needed sie
  @return array