T1 - type of first objectT2 - type of second objectpublic class Pair<T1,T2> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Pair.Serializable<T1 extends Serializable,T2 extends Serializable>
Serializable Pair.
|
| Modifier and Type | Field and Description |
|---|---|
protected T1 |
value1 |
protected T2 |
value2 |
| Constructor and Description |
|---|
Pair()
Constructor with null values.
|
Pair(T1 value1,
T2 value2)
Constructor.
|
Copyright © 2019. All rights reserved.