Class Pair<F,​S>

  • Type Parameters:
    F - first value
    S - second value

    public class Pair<F,​S>
    extends java.lang.Object
    data container used to hold key value pairs
    • Field Summary

      Fields 
      Modifier and Type Field Description
      F first  
      S second  
    • Constructor Summary

      Constructors 
      Constructor Description
      Pair​(F first, S second)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • first

        public final F first
      • second

        public final S second
    • Constructor Detail

      • Pair

        public Pair​(F first,
                    S second)