java.lang.Object
fr.paris.lutece.plugins.newsletter.business.Pair<A,B>
Type Parameters:
A - First type of the pair
B - Second type of the pair

public class Pair<A,B> extends Object
Pair class
  • Constructor Details

    • Pair

      public Pair(A first, B second)
      Parameters:
      first - the first element of the Pair
      second - the second element of the Pair
  • Method Details

    • getFirst

      public A getFirst()
      Returns:
      the first element of the Pair
    • getSecond

      public B getSecond()
      Returns:
      the second element of the Pair