Class DualKeyHashMap<K1,​K2,​V>


  • public class DualKeyHashMap<K1,​K2,​V>
    extends java.lang.Object
    Author:
    William Pugh
    • Constructor Summary

      Constructors 
      Constructor Description
      DualKeyHashMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsKey​(K1 k1, K2 k2)  
      java.util.Map<K2,​V> get​(K1 k1)  
      V get​(K1 k1, K2 k2)  
      java.util.Set<K1> keySet()  
      V put​(K1 k1, K2 k2, V v)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DualKeyHashMap

        public DualKeyHashMap()
    • Method Detail

      • get

        public V get​(K1 k1,
                     K2 k2)
      • containsKey

        public boolean containsKey​(K1 k1,
                                   K2 k2)
      • get

        public java.util.Map<K2,​V> get​(K1 k1)
      • keySet

        public java.util.Set<K1> keySet()
      • put

        public V put​(K1 k1,
                     K2 k2,
                     V v)