public enum StringPoolingStrategy extends java.lang.Enum<StringPoolingStrategy>
Modifier and Type | Method and Description |
---|---|
static StringPoolingStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StringPoolingStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final StringPoolingStrategy INDEXED
public static final StringPoolingStrategy NONE
public static final StringPoolingStrategy ON_HEAP
public static StringPoolingStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static StringPoolingStrategy[] values()
for (StringPoolingStrategy c : StringPoolingStrategy.values()) System.out.println(c);