Class Lookup<K,V>

java.lang.Object
io.hyperfoil.api.collection.Lookup<K,V>

public class Lookup<K,V> extends Object
Primitive hashmap with limited insertion capability. Provides cached arrays with all values.
  • Constructor Details

  • Method Details

    • get

      public V get(K key)
    • reserve

      public V reserve(K key)
    • array

      public V[] array()
      Returns:
      Cached map with the values. Should not be modified!