| Package | Description |
|---|---|
| org.aoju.bus.core.builder | |
| org.aoju.bus.core.lang.tuple |
| Modifier and Type | Class and Description |
|---|---|
class |
Different<T>
|
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutablePair<L,R>
An immutable pair consisting of two
Object elements. |
class |
MutablePair<L,R>
由两个
Object元素组成的可变对 |
| Modifier and Type | Method and Description |
|---|---|
static <L,R> Pair<L,R> |
Pair.of(L left,
R right)
获取两个推断泛型类型的对象的不可变对
这个工厂允许使用推理来创建对,以获得泛型类型
|
| Modifier and Type | Method and Description |
|---|---|
int |
Pair.compareTo(Pair<L,R> other)
比较基于左元素和右元素的对。类型必须是
Comparable |
Copyright © 2020. All rights reserved.