Class Pair<T,​S>


  • public final class Pair<T,​S>
    extends Object
    Holds a pair of values
    Author:
    Brian Wyka
    • Method Detail

      • getLeft

        @NonNull
        public T getLeft()
      • getRight

        @NonNull
        public S getRight()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • of

        public static <T,​S> Pair<T,​S> of​(@NonNull
                                                     T left,
                                                     @NonNull
                                                     S right)