org.planx.util
Interface Pair<T,S>

All Known Implementing Classes:
Association, TemplateNode, TemplateNode.Pointer

public interface Pair<T,S>

A container consisting of two objects.

Author:
Thomas Ambus

Method Summary
 T getFirst()
          Returns the first component of the Pair.
 S getSecond()
          Returns the second component of the Pair.
 

Method Detail

getFirst

T getFirst()
Returns the first component of the Pair.


getSecond

S getSecond()
Returns the second component of the Pair.



Copyright © 2010. All Rights Reserved.