Module xl.core

Class LongHashMap<V>

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

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

    • LongHashMap

      public LongHashMap(int capacity, float loadFactor)
    • LongHashMap

      public LongHashMap(int capacity)
    • LongHashMap

      public LongHashMap()
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • size

      public int size()
    • clear

      public void clear()
    • add

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

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

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

      public V remove(long key)
    • remove

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

      public void removeAll(long key)
    • getEntry

      public LongHashMap.Entry getEntry(long key)
    • get

      public V get(long key)
    • get

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

      public boolean containsKey(long key)
    • iterator

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