| Package | Description |
|---|---|
| org.aoju.bus.core.builder |
建造者工具
用于建造特定对象或结果
|
| org.aoju.bus.core.lang |
语言特性包,包括大量便捷的数据结构,例如验证器Validator,分布式ID生成器Snowflake等
|
| org.aoju.bus.core.lang.tuple |
键值域元组,值域用于封装使其可变
提供封装多个对象的类,目的是作为方法的返回类型
|
| org.aoju.bus.core.toolkit |
工具包,提供各种工具方法,按照归类入口为XXXKit,如数组工具ArrayKit等
|
| Modifier and Type | Class and Description |
|---|---|
class |
Different<T>
|
| Modifier and Type | Method and Description |
|---|---|
static Dict |
Dict.of(Pair<String,Object>... pairs)
根据给定的Pair数组创建Dict对象
|
| 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 |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Map<K,V> |
MapKit.of(Pair<K,V>... pairs)
根据给定的Pair数组创建Map对象
|
Copyright © 2022. All rights reserved.