org.apache.airavata.common.utils
Class Pair<L,R>

java.lang.Object
  extended by org.apache.airavata.common.utils.Pair<L,R>

public class Pair<L,R>
extends Object


Constructor Summary
Pair(L left, R right)
          Constructs a Pair.
 
Method Summary
 L getLeft()
          Returns the left.
 R getRight()
          Returns the right.
 void setLeft(L left)
          Sets left.
 void setRight(R right)
          Sets right.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

public Pair(L left,
            R right)
Constructs a Pair.

Parameters:
left -
right -
Method Detail

getLeft

public L getLeft()
Returns the left.

Returns:
The left

setLeft

public void setLeft(L left)
Sets left.

Parameters:
left - The left to set.

getRight

public R getRight()
Returns the right.

Returns:
The right

setRight

public void setRight(R right)
Sets right.

Parameters:
right - The right to set.


Copyright © 2011-2012 The Apache Software Foundation. All Rights Reserved.