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