public boolean isAdjacent(HashRange other) {
        return minInclusive.equals(other.maxExclusive) || maxExclusive.equals(other.minInclusive);
    }
@Test
    public void isAdjacent() {
        HashRange range = HashRange.range(1000, 2000);
        assertFalse(range.isAdjacent(HashRange.range(0, 999)));
        assertTrue(range.isAdjacent(HashRange.range(0, 1000)));
        assertTrue(range.isAdjacent(HashRange.range(2000, 3000)));
        assertFalse(range.isAdjacent(HashRange.range(2001, 3000)));
    }