FoldedByteArrayIndexedList implements ByteArrayIndexedList { @Override public String toString() { return "FoldedByteArrayIndexedList{" + "elementCount=" + elementCount + '}'; } private  FoldedByteArrayIndexedList(
            final int elementCount,
            final int sizeOfIndexOffsetValue,
            @NotNull final Buffer indexes,
            @NotNull final Buffer offsets,
            @NotNull final Buffer elements); @NotNull static ByteArrayIndexedList from(
            @NotNull final Buffer buf); @NotNull @Override Buffer get(final int docId); @Override long getLongUnsafe(final int docId); @Override int getIntUnsafe(final int docId); @Override short getShortUnsafe(final int docId); @Override char getCharUnsafe(final int docId); @Override byte getByteUnsafe(final int docId); @Override int size(); @Override String toString();  }
@Test public void testBytesFolding() throws IOException { assertTrue(build(100).toString().contains(Integer.toString(100))); }
@Test public void testShortFolding() throws IOException { assertTrue(build(1000).toString().contains(Integer.toString(1000))); }
@Test public void testIntegerFolding() throws IOException { assertTrue(build(70000).toString().contains(Integer.toString(70000))); }