Class Pair<F,S>

java.lang.Object
com.github.westsi.browser.util.Pair<F,S>
Type Parameters:
F - The type of the first piece of data in the pair
S - The type of the second piece of data

public class Pair<F,S> extends Object
Utility class to group together two pieces of data.
  • Constructor Details

    • Pair

      public Pair(F first, S second)
  • Method Details

    • getFirst

      public F getFirst()
    • setFirst

      public void setFirst(F first)
    • getSecond

      public S getSecond()
    • setSecond

      public void setSecond(S second)
    • toString

      public String toString()
      Overrides:
      toString in class Object