Class HashMapInt<V>

java.lang.Object
org.jruby.util.collections.HashMapInt<V>

public class HashMapInt<V> extends Object
  • 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

      public boolean containsKey(Object key)
    • get

      public int get(V key)
    • rehash

      protected void rehash()
    • put

      public int put(V key, int value)
    • remove

      public int remove(V key)
    • clear

      public void clear()
    • keySet

      public Set<V> keySet()
    • values

      public Collection<Integer> values()
    • entrySet

      public Set<HashMapInt.Entry<V>> entrySet()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • nullMap

      public static <U> HashMapInt<U> nullMap()