U - first datatypeV - second datatypepublic class Pair<U,V> extends Object
| Constructor and Description |
|---|
Pair(U left,
V right)
Creates an immutable pair of two objects of type U & V.
|
| Modifier and Type | Method and Description |
|---|---|
U |
getLeft()
Retrieve the left part of the pair object.
|
V |
getRight()
Retrieve the rightpart of the pair object.
|
Copyright © 2016–2019 Matthieu Brouillard. All rights reserved.