Interface DoubleKeyMap<K1,K2,V>

All Superinterfaces:
Map<K1,Map<K2,V>>
All Known Implementing Classes:
SimpleDoubleKeyMap

public interface DoubleKeyMap<K1,K2,V> extends Map<K1,Map<K2,V>>
  • Method Details

    • get

      V get(K1 key1, K2 key2)
      Gets the value in the map associated with the keys.
      Parameters:
      key1 - the key of the first map
      key2 - the key of the second map
      Returns:
      the value or null if not found
    • put

      V put(K1 key1, K2 key2, V value)
      Adds a value to the map.
      Parameters:
      key1 - the first key
      key2 - the second key
      value - the value to put
      Returns:
      the value