| Package | Description |
|---|---|
| net.dreamlu.mica.core.tuple |
| Modifier and Type | Method and Description |
|---|---|
static <L,R> Pair<L,R> |
Pair.create(L left,
R right) |
static <L,R> Pair<L,R> |
Pair.createLeft(L left)
Constructs a pair with its left value being
left, or returns an empty pair if
left is null. |
static <L,R> Pair<L,R> |
Pair.createRight(R right)
Constructs a pair with its right value being
right, or returns an empty pair if
right is null. |
static <L,R> Pair<L,R> |
Pair.empty()
Returns an empty pair.
|
Copyright © 2024. All rights reserved.