org.freecompany.util.core

Class Pair<T,Y>

public class Pair<T,Y> extends Object

A generically typed and immutable pair of elements.
Field Summary
protected Tone
protected Ytwo
Constructor Summary
Pair(T one, Y two)
Method Summary
Tone()
Ytwo()

Field Detail

one

protected final T one

two

protected final Y two

Constructor Detail

Pair

public Pair(T one, Y two)

Method Detail

one

public T one()

two

public Y two()