@Test public void testContains() { LongFloatMap map = buildTestFastMap(); assertTrue(map.containsKey(500000L)); assertTrue(map.containsKey(47L)); assertTrue(map.containsKey(2L)); assertFalse(map.containsKey(999)); }
public boolean containsKey(long key) { return key != KEY_NULL && key != REMOVED && keys[find(key)] != KEY_NULL; }
LongFloatMap implements Serializable, Cloneable { public boolean containsKey(long key) { return key != KEY_NULL && key != REMOVED && keys[find(key)] != KEY_NULL; } }
LongFloatMap implements Serializable, Cloneable { public boolean containsKey(long key) { return key != KEY_NULL && key != REMOVED && keys[find(key)] != KEY_NULL; } LongFloatMap();  LongFloatMap(int initialCapacity); }
LongFloatMap implements Serializable, Cloneable { public boolean containsKey(long key) { return key != KEY_NULL && key != REMOVED && keys[find(key)] != KEY_NULL; } LongFloatMap();  LongFloatMap(int initialCapacity); float get(long key); void increment(long key, float delta); int size(); boolean isEmpty(); boolean containsKey(long key); void put(long key, float value); void remove(long key); void clear(); LongPrimitiveIterator keySetIterator(); Set<MapEntry> entrySet(); void rehash(); @Override LongFloatMap clone(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object other); }
LongFloatMap implements Serializable, Cloneable { public boolean containsKey(long key) { return key != KEY_NULL && key != REMOVED && keys[find(key)] != KEY_NULL; } LongFloatMap();  LongFloatMap(int initialCapacity); float get(long key); void increment(long key, float delta); int size(); boolean isEmpty(); boolean containsKey(long key); void put(long key, float value); void remove(long key); void clear(); LongPrimitiveIterator keySetIterator(); Set<MapEntry> entrySet(); void rehash(); @Override LongFloatMap clone(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object other);  }