Class Tuple.Two<F,​S>

  • All Implemented Interfaces:
    Tuple
    Enclosing interface:
    Tuple

    public static class Tuple.Two<F,​S>
    extends java.lang.Object
    implements Tuple
    A two-tuple, i.e. a pair.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.lsp4j.jsonrpc.messages.Tuple

        Tuple.Two<F,​S>
    • Constructor Summary

      Constructors 
      Constructor Description
      Two​(F first, S second)  
    • Constructor Detail

      • Two

        public Two​(F first,
                   S second)
    • Method Detail

      • getFirst

        public F getFirst()
      • getSecond

        public S getSecond()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object