ValueType - The type values to be stored in the pair.public class Pair<ValueType> extends Object
Pair is a composition of two objects. This should only be used to return two connected objects because of Java's
limited ability to return multiple values. The values of a Pair are therefore final.| Constructor and Description |
|---|
Pair(ValueType first,
ValueType second)
Creates a new
Pair. |
Copyright © 2017. All rights reserved.