Class IntHashMap<V>

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

public class IntHashMap<V> extends Object
  • Constructor Details

    • IntHashMap

      public IntHashMap()
    • IntHashMap

      public IntHashMap(int initialCapacity)
    • IntHashMap

      public IntHashMap(int initialCapacity, float loadFactor)
  • Method Details

    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • contains

      public boolean contains(Object value)
    • containsValue

      public boolean containsValue(Object value)
    • containsKey

      public boolean containsKey(int key)
    • get

      public V get(int key)
    • rehash

      protected void rehash()
    • put

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

      public V remove(int key)
    • clear

      public void clear()
    • keySet

      public Set<Integer> keySet()
    • values

      public Collection<V> values()
    • entrySet

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

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

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

      public void forEach(BiConsumer<Integer,? super V> action)
    • nullMap

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