Class Pair<T,​U>


  • public class Pair<T,​U>
    extends Object
    This is a pair of objects.
    Version:
    1.0
    Author:
    J-C Groccia
    • Constructor Detail

      • Pair

        public Pair​(T first,
                    U second)
        constructor
    • Method Detail

      • of

        public static <T,​U> Pair<T,​U> of​(T first,
                                                     U second)
      • getFirst

        public T getFirst()
      • getSecond

        public U getSecond()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object