Class Pair<F,​S>


  • public class Pair<F,​S>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      F _1  
      S _2  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <F,​S>
      Pair<F,​S>
      of​(F first, S second)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _1

        public final F _1
      • _2

        public final S _2
    • Method Detail

      • of

        public static <F,​S> Pair<F,​S> of​(F first,
                                                     S second)
      • toString

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