bpiwowar.argparser.utils
Class Pair<T,U>

java.lang.Object
  extended by bpiwowar.argparser.utils.Pair<T,U>
All Implemented Interfaces:
Serializable

public final class Pair<T,U>
extends Object
implements Serializable

A pair of objects

Author:
Benjamin Piwowarski
See Also:
Serialized Form

Constructor Summary
Pair()
           
Pair(T x, U y)
           
 
Method Summary
 T getFirst()
           
 U getSecond()
           
 void setFirst(T x)
           
 void setSecond(U y)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pair

public Pair()

Pair

public Pair(T x,
            U y)
Method Detail

getFirst

public final T getFirst()

setFirst

public final void setFirst(T x)

getSecond

public final U getSecond()

setSecond

public final void setSecond(U y)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.