public static enum RegistryConfig.Excise extends Enum<RegistryConfig.Excise>
vintage 的 excise 方式,static、dynamic、ratio; static表示使用静态列表,不剔除unreachable的node;dynamic完全剔除;ratio按比例提出。 配置方式,ratio直接使用数字,其他使用数字0-100.
| Enum Constant and Description |
|---|
excise_dynamic |
excise_ratio |
excise_static |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static RegistryConfig.Excise |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegistryConfig.Excise[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistryConfig.Excise excise_static
public static final RegistryConfig.Excise excise_dynamic
public static final RegistryConfig.Excise excise_ratio
public static RegistryConfig.Excise[] values()
for (RegistryConfig.Excise c : RegistryConfig.Excise.values()) System.out.println(c);
public static RegistryConfig.Excise valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
Copyright © 2019. All rights reserved.