ELEMENT1
- First element typeELEMENT2
- Second element typepublic class Pair<ELEMENT1,ELEMENT2>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ELEMENT1 |
element1
First element
|
ELEMENT2 |
element2
Second element
|
Constructor and Description |
---|
Pair()
Create a new instance of Pair
|
Pair(ELEMENT1 element1,
ELEMENT2 element2)
Create a new instance of Pair
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
String representation
Parent documentation: |