Class TripleKeyMap<A,​B,​C,​E>


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

      Constructors 
      Constructor Description
      TripleKeyMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      E get​(A a, B b, C c)
      Obtains the entry.
      void put​(A a, B b, C c, 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

      • TripleKeyMap

        public TripleKeyMap()
    • Method Detail

      • put

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

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