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()
    • Dictionary

      public Dictionary(int initialCapacity)
  • Method Details

    • clear

      public void clear()
    • size

      public int size()
    • 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)