protected final Object[] newObjectPage(int page) { if (recycler != null) { final Recycler.V<Object[]> v = recycler.objectPage(); return registerNewPage(v, page, BigArrays.OBJECT_PAGE_SIZE); } else { return new Object[BigArrays.OBJECT_PAGE_SIZE]; } }
protected final int[] newIntPage(int page) { if (recycler != null) { final Recycler.V<int[]> v = recycler.intPage(clearOnResize); return registerNewPage(v, page, BigArrays.INT_PAGE_SIZE); } else { return new int[BigArrays.INT_PAGE_SIZE]; } }
protected final long[] newLongPage(int page) { if (recycler != null) { final Recycler.V<long[]> v = recycler.longPage(clearOnResize); return registerNewPage(v, page, BigArrays.LONG_PAGE_SIZE); } else { return new long[BigArrays.LONG_PAGE_SIZE]; } }
protected final byte[] newBytePage(int page) { if (recycler != null) { final Recycler.V<byte[]> v = recycler.bytePage(clearOnResize); return registerNewPage(v, page, BigArrays.BYTE_PAGE_SIZE); } else { return new byte[BigArrays.BYTE_PAGE_SIZE]; } }