@Test public void testClassBehaviour() { ObjIntHashMap<Class<?>> map = new ObjIntHashMap<>(); Assert.assertEquals(-1, map.get(Object.class)); }
public int get(K key) { return valueAt(keyIndex(key)); }
ObjIntHashMap implements Iterable<ObjIntHashMap.Entry<K>>, Mutable { public int get(K key) { return valueAt(keyIndex(key)); } }
ObjIntHashMap implements Iterable<ObjIntHashMap.Entry<K>>, Mutable { public int get(K key) { return valueAt(keyIndex(key)); } ObjIntHashMap(); private  ObjIntHashMap(int initialCapacity); @SuppressWarnings("unchecked") private  ObjIntHashMap(int initialCapacity, double loadFactor, int noKeyValue); }
ObjIntHashMap implements Iterable<ObjIntHashMap.Entry<K>>, Mutable { public int get(K key) { return valueAt(keyIndex(key)); } ObjIntHashMap(); private  ObjIntHashMap(int initialCapacity); @SuppressWarnings("unchecked") private  ObjIntHashMap(int initialCapacity, double loadFactor, int noKeyValue); final void clear(); int get(K key); @Override @NotNull Iterator<Entry<K>> iterator(); int keyIndex(K key); void put(K key, int value); void putAt(int index, K key, int value); boolean putIfAbsent(K key, int value); int size(); int valueAt(int index); }
ObjIntHashMap implements Iterable<ObjIntHashMap.Entry<K>>, Mutable { public int get(K key) { return valueAt(keyIndex(key)); } ObjIntHashMap(); private  ObjIntHashMap(int initialCapacity); @SuppressWarnings("unchecked") private  ObjIntHashMap(int initialCapacity, double loadFactor, int noKeyValue); final void clear(); int get(K key); @Override @NotNull Iterator<Entry<K>> iterator(); int keyIndex(K key); void put(K key, int value); void putAt(int index, K key, int value); boolean putIfAbsent(K key, int value); int size(); int valueAt(int index);  }