net.refractions.udig.core
Class Pair<T,V>

java.lang.Object
  extended by net.refractions.udig.core.Pair<T,V>

public class Pair<T,V>
extends java.lang.Object

A simple class for wrapping a couple of objects. Often for return types.

Since:
1.1.0
Author:
jesse

Constructor Summary
Pair(T left, V right)
           
 
Method Summary
 T getLeft()
           
 V getRight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

public Pair(T left,
            V right)
Method Detail

getLeft

public T getLeft()
Returns:
Returns the left.

getRight

public V getRight()
Returns:
Returns the right.