Class Pair<I,II>

java.lang.Object
org.fest.swing.util.Pair<I,II>
Type Parameters:
I - the generic type of the 1st. value in this tuple.
II - the generic type of the 2nd. value in this tuple.
Direct Known Subclasses:
Triple

public class Pair<I,II> extends Object
Understands a tuple of size 2.
  • Field Details

    • i

      public final I i
      The first value in this tuple.
    • ii

      public final II ii
      The second value in this tuple.
  • Constructor Details

    • Pair

      public Pair(I i, II ii)
      Creates a new Pair.
      Parameters:
      i - the 1st. value in this tuple.
      ii - the 2nd. value in this tuple.