Package com.complexible.common.memory
Enum MemoryConfiguration.HeapComponent
- java.lang.Object
-
- java.lang.Enum<MemoryConfiguration.HeapComponent>
-
- com.complexible.common.memory.MemoryConfiguration.HeapComponent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MemoryConfiguration.HeapComponent>
- Enclosing interface:
- MemoryConfiguration
public static enum MemoryConfiguration.HeapComponent extends java.lang.Enum<MemoryConfiguration.HeapComponent>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DICT_INDEX_CACHEDICT_VALUE_CACHE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MemoryConfiguration.HeapComponentgetInstance(java.lang.String theOption)java.lang.StringgetOption()static MemoryConfiguration.HeapComponentvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MemoryConfiguration.HeapComponent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DICT_VALUE_CACHE
public static final MemoryConfiguration.HeapComponent DICT_VALUE_CACHE
-
DICT_INDEX_CACHE
public static final MemoryConfiguration.HeapComponent DICT_INDEX_CACHE
-
-
Method Detail
-
values
public static MemoryConfiguration.HeapComponent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MemoryConfiguration.HeapComponent c : MemoryConfiguration.HeapComponent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MemoryConfiguration.HeapComponent valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getOption
public java.lang.String getOption()
-
getInstance
public static MemoryConfiguration.HeapComponent getInstance(java.lang.String theOption)
-
-