Class Couple<F,​S>

  • All Implemented Interfaces:
    java.io.Serializable

    public class Couple<F,​S>
    extends java.lang.Object
    implements java.io.Serializable
    A simple couple class
    See Also:
    Serialized Form
    • Constructor Summary

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

      • Couple

        public Couple()
      • Couple

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

      • getFirst

        public F getFirst()
        Returns:
        the first
      • setFirst

        public void setFirst​(F first)
        Parameters:
        first - the first to set
      • getSecond

        public S getSecond()
        Returns:
        the second
      • setSecond

        public void setSecond​(S second)
        Parameters:
        second - the second to set