Module xl.core

Class IntHashMap<V>

java.lang.Object
de.grogra.xl.util.IntHashMap<V>
All Implemented Interfaces:
Iterable<IntHashMap.Entry<V>>

public class IntHashMap<V> extends Object implements Iterable<IntHashMap.Entry<V>>
  • Constructor Details

    • IntHashMap

      public IntHashMap(int capacity, float loadFactor)
    • IntHashMap

      public IntHashMap(int capacity)
    • IntHashMap

      public IntHashMap()
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • size

      public int size()
    • clear

      public void clear()
    • add

      public void add(int key, V value)
    • put

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

      public void remove(IntHashMap.Entry<V> entry)
    • remove

      public V remove(int key)
    • remove

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

      public void removeAll(int key)
    • getEntry

      public IntHashMap.Entry getEntry(int key)
    • get

      public V get(int key)
    • get

      public Object get(int key, Object defaultValue)
    • containsKey

      public boolean containsKey(int key)
    • iterator

      public Iterator<IntHashMap.Entry<V>> iterator()
      Specified by:
      iterator in interface Iterable<V>