LongToLongMap { public boolean containsKey(long key) { return lookup(key).isDefined(); } LongToLongMap(MemoryAllocator allocator, long initialCapacity, double loadFactor);  LongToLongMap(MemoryAllocator allocator, long initialCapacity); long size(); boolean containsKey(long key); void put(long key, long value); long get(long key); Location lookup(long key);  }
@Test public void emptyMap() { LongToLongMap map = createEmptyMap(64); Assert.assertFalse(map.containsKey(-1L)); Assert.assertFalse(map.containsKey(0L)); Assert.assertFalse(map.containsKey(10L)); }