MPXJ: Microsoft Project Exchange

net.sf.mpxj.utility
Class Pair<L,R>

java.lang.Object
  extended by net.sf.mpxj.utility.Pair<L,R>
Type Parameters:
L - first value type
R - second value type

public final class Pair<L,R>
extends java.lang.Object

Represents a pair of values.


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

Constructor Detail

Pair

public Pair(L first,
            R second)
Constructor.

Parameters:
first - first object
second - second object
Method Detail

getFirst

public L getFirst()
Retrieve the the first object.

Returns:
first object

getSecond

public R getSecond()
Retrieve the second object.

Returns:
second object


Copyright © 2000-2014 Packwood Software. All Rights Reserved.