public class Pair extends Object implements Serializable
java.util.AbstractMap.SimpleEntry class provides the same
functionality in a more generic way, but the class is not available
in Java SE 1.5.
| Constructor and Description |
|---|
Pair()
Constructor with a
null key and a null value. |
Pair(String key,
String value)
Constructor with an initial key and an initial value.
|
Copyright © 2019. All rights reserved.