| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.collection |
many collection utility class
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Collects.ListType |
Collects.ListType.ofList(List list) |
static Collects.ListType |
Collects.ListType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Collects.ListType[] |
Collects.ListType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <E> List<E> |
Collects.asList(E[] array,
boolean mutable,
Collects.ListType listType)
Convert an array to a List, if the 'mutable' argument is true, will return an unmodifiable List
|
static <E> List<E> |
Collects.asList(E[] array,
Collects.ListType listType)
Convert an array to a ArrayList or a LinkedList
|
static <E> List<E> |
Collects.getEmptyListIfNull(List<E> list,
Collects.ListType listType) |
Copyright © 2022. All rights reserved.