Class MapLayer<K,V>

java.lang.Object
cromveil.combatnumbers.client.resolver.MapLayer<K,V>
All Implemented Interfaces:
Source<K,V>

public final class MapLayer<K,V> extends Object implements Source<K,V>
Simple source backed by a Map.
  • Constructor Details

    • MapLayer

      public MapLayer()
  • Method Details

    • set

      public void set(Map<K,V> values)
    • clear

      public void clear()
    • get

      public @Nullable V get(K key)
      Specified by:
      get in interface Source<K,V>
      Returns:
      null if not found.