| 程序包 | 说明 |
|---|---|
| cn.crane4j.core.container |
| 限定符和类型 | 方法和说明 |
|---|---|
static ConstantContainer<Object> |
ConstantContainer.forConstantClass(Class<?> constantClass,
AnnotationFinder annotationFinder)
Convert public static constants in the specified constant class to containers.
|
static <K> ConstantContainer<K> |
ConstantContainer.forEnum(Class<? extends Enum<?>> enumType,
AnnotationFinder annotationFinder,
PropertyOperator propertyOperator)
Create a key-value pair container based on the specified type enumeration.
|
static <K,T extends Enum<?>> |
ConstantContainer.forEnum(String namespace,
Class<T> enumType,
Function<? super T,? extends K> keyGetter)
Create a key-value pair container based on the specified type enumeration.
|
static <K> ConstantContainer<K> |
ConstantContainer.forMap(String namespace,
Map<K,?> data)
Create a key-value pair container based on the specified type enumeration.
|
Copyright © 2023. All rights reserved.