Package org.jruby.util.collections
Class HashMapInt<V>
java.lang.Object
org.jruby.util.collections.HashMapInt<V>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionHashMapInt(boolean identity) HashMapInt(int initialCapacity, boolean identity) HashMapInt(int initialCapacity, float loadFactor, boolean identity) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clone()booleancontains(int value) booleancontainsKey(Object key) booleancontainsValue(int value) entrySet()intbooleanisEmpty()keySet()static <U> HashMapInt<U> nullMap()intprotected voidrehash()intintsize()toString()values()
-
Constructor Details
-
HashMapInt
public HashMapInt() -
HashMapInt
public HashMapInt(boolean identity) -
HashMapInt
public HashMapInt(int initialCapacity, boolean identity) -
HashMapInt
public HashMapInt(int initialCapacity, float loadFactor, boolean identity)
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
public boolean contains(int value) -
containsValue
public boolean containsValue(int value) -
containsKey
-
get
-
rehash
protected void rehash() -
put
-
remove
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
toString
-
clone
-
nullMap
-