Package com.complexible.common.memory
Enum MemoryConfiguration.NativeComponent
- java.lang.Object
-
- java.lang.Enum<MemoryConfiguration.NativeComponent>
-
- com.complexible.common.memory.MemoryConfiguration.NativeComponent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MemoryConfiguration.NativeComponent>
- Enclosing interface:
- MemoryConfiguration
public static enum MemoryConfiguration.NativeComponent extends java.lang.Enum<MemoryConfiguration.NativeComponent>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QUERY_MEM_BLOCKS
STARROCKS_SIZE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MemoryConfiguration.NativeComponent
getInstance(java.lang.String theOption)
java.lang.String
getOption()
static MemoryConfiguration.NativeComponent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MemoryConfiguration.NativeComponent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUERY_MEM_BLOCKS
public static final MemoryConfiguration.NativeComponent QUERY_MEM_BLOCKS
-
STARROCKS_SIZE
public static final MemoryConfiguration.NativeComponent STARROCKS_SIZE
-
-
Method Detail
-
values
public static MemoryConfiguration.NativeComponent[] 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.NativeComponent c : MemoryConfiguration.NativeComponent.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.NativeComponent 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.NativeComponent getInstance(java.lang.String theOption)
-
-