Enum CycleSorting
- java.lang.Object
-
- java.lang.Enum<CycleSorting>
-
- io.engineblock.activityapi.cyclelog.buffers.CycleSorting
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CycleSorting>,java.lang.constant.Constable
public enum CycleSorting extends java.lang.Enum<CycleSorting>
-
-
Method Summary
Modifier and Type Method Description static CycleSortingvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CycleSorting[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Keep
public static final CycleSorting Keep
-
Discard
public static final CycleSorting Discard
-
Ignore
public static final CycleSorting Ignore
-
-
Method Detail
-
values
public static CycleSorting[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CycleSorting 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
-
-