@Override
    public long getElementValue(long index, int bitsPerElement) {
        return getElementValue(index, bitsPerElement, ((1L << bitsPerElement) - 1));
    }
@Test
    public void testGetEmpty() {
        FixedLengthElementArray arr = new FixedLengthElementArray(
                WastefulRecycler.SMALL_ARRAY_RECYCLER, 17000);
        Assert.assertEquals(0, arr.getElementValue(0, 4));
    }