Interface DoubleKeyMap<K1,​K2,​V>

  • All Superinterfaces:
    java.util.Map<K1,​java.util.Map<K2,​V>>
    All Known Implementing Classes:
    SimpleDoubleKeyMap

    public interface DoubleKeyMap<K1,​K2,​V>
    extends java.util.Map<K1,​java.util.Map<K2,​V>>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V get​(K1 key1, K2 key2)
      Gets the value in the map associated with the keys.
      V put​(K1 key1, K2 key2, V value)
      Adds a value to the map.
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
    • Method Detail

      • 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