Package one.jfr

Class Dictionary<T>

java.lang.Object
one.jfr.Dictionary<T>

public class Dictionary<T> extends Object
Fast and compact long->Object map.
  • Constructor Details

    • Dictionary

      public Dictionary()
  • Method Details

    • clear

      public void clear()
    • put

      public void put(long key, T value)
    • get

      public T get(long key)
    • forEach

      public void forEach(Dictionary.Visitor<T> visitor)
    • preallocate

      public int preallocate(int count)