public class Pair<L,R> extends Object
| Modifier and Type | Method and Description |
|---|---|
L |
getLeft() |
R |
getRight() |
static <L,R> Pair<L,R> |
of(L left,
R right)
Creates new Pair of two elements.
|
public static <L,R> Pair<L,R> of(L left, R right)
L - Type of left value.R - Type of right value.left - Left value.right - Right value.public L getLeft()
public R getRight()
Copyright © 2018. All rights reserved.