fr.paris.lutece.plugins.newsletter.business
Class Pair<A,B>

java.lang.Object
  extended by fr.paris.lutece.plugins.newsletter.business.Pair<A,B>
Type Parameters:
A -
B -

public class Pair<A,B>
extends java.lang.Object

Pair class


Constructor Summary
Pair(A first, B second)
           
 
Method Summary
 A getFirst()
           
 B getSecond()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

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

getFirst

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

getSecond

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


Copyright © 2011 Mairie de Paris. All Rights Reserved.