Class Pair<T1,T2>

java.lang.Object
java.util.AbstractMap.SimpleEntry<T1,T2>
introspector.controller.Pair<T1,T2>
Type Parameters:
T1 - the type of the first element
T2 - the type of the second element
All Implemented Interfaces:
Serializable, Map.Entry<T1,T2>

public class Pair<T1,T2> extends AbstractMap.SimpleEntry<T1,T2>
A basic tuple of two elements.
See Also:
  • Constructor Details

    • Pair

      public Pair(T1 key, T2 value)
  • Method Details

    • getFirst

      public T1 getFirst()
    • getSecond

      public T2 getSecond()