common-util

local.tomas.util
Class Pair<E,F>

java.lang.Object
  extended by local.tomas.util.Pair<E,F>
Type Parameters:
E - first object type
F - second object type

public class Pair<E,F>
extends Object

A pair of objects

Author:
tomas.teubner

Field Summary
 E left
          First object.
 F right
          Second object
 
Constructor Summary
Pair()
          Default constructor
Pair(E left, F right)
          Construct pair from two objects.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

left

public E left
First object.


right

public F right
Second object

Constructor Detail

Pair

public Pair()
Default constructor


Pair

public Pair(E left,
            F right)
Construct pair from two objects.

Parameters:
left - first object
right - second object

common-util

Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.