Package com.gengoai.stream
Enum StorageLevel
- java.lang.Object
-
- java.lang.Enum<StorageLevel>
-
- com.gengoai.stream.StorageLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<StorageLevel>
public enum StorageLevel extends Enum<StorageLevel>
- Author:
- David B. Bracewell
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StorageLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static StorageLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
InMemory
public static final StorageLevel InMemory
-
OnDisk
public static final StorageLevel OnDisk
-
OffHeap
public static final StorageLevel OffHeap
-
-
Method Detail
-
values
public static StorageLevel[] 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 (StorageLevel c : StorageLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StorageLevel valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-