- Direct Known Subclasses:
- Triple
public class Pair<S,T>
extends Object
A class that holds two typed objects together; mostly useful to return multiple values from a method, without having
to make a dedicated class, or using an untyped collection or array that would require casting the contents in the
calling method.
- Version:
- $Id: Pair.java 4264 2012-04-03 14:50:18Z mayer $
- Author:
- Rudolf Mayer