public boolean contains(BigInteger value) {
        return value.compareTo(minInclusive) >= 0 && value.compareTo(maxExclusive) < 0;
    }
@Test
    public void contains() {
        HashRange range = HashRange.range(1000, 2000);
        assertFalse(range.contains(new BigInteger("999")));
        assertTrue(range.contains(new BigInteger("1000")));
        assertTrue(range.contains(new BigInteger("1999")));
        assertFalse(range.contains(new BigInteger("2000")));
        assertFalse(range.contains(new BigInteger("2001")));
    }