Class DoubleKeyMap<A,​B,​E>


  • public class DoubleKeyMap<A,​B,​E>
    extends java.lang.Object
    Map that provides a double key to obtain the entry.
    Author:
    Daniel Sagenschneider
    • Constructor Summary

      Constructors 
      Constructor Description
      DoubleKeyMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      E get​(A a, B b)
      Obtains the entry.
      void put​(A a, B b, E entry)
      Registers the entry.
      • Methods inherited from class java.lang.Object

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

      • DoubleKeyMap

        public DoubleKeyMap()
    • Method Detail

      • put

        public void put​(A a,
                        B b,
                        E entry)
        Registers the entry.
        Parameters:
        a - First key for registering.
        b - Second key for registering.
        entry - Entry to register.
      • get

        public E get​(A a,
                     B b)
        Obtains the entry.
        Parameters:
        a - First key registered under.
        b - Second key registered under.
        Returns:
        Entry or null if not found.