Bugfixes / Cleanup
@@ -267,6 +267,10 @@ public class ObjectIntMap<K> implements Iterable<ObjectIntMap.Entry<K>>{
size++;
}
+ public int get(K key){
+ return get(key, 0);
+ }
+
/** @param defaultValue Returned if the key was not associated with a value. */
public int get(K key, int defaultValue){
int hashCode = key.hashCode();
