Enum ChunkReader.StreamState
- java.lang.Object
-
- java.lang.Enum<ChunkReader.StreamState>
-
- org.openjdk.jmc.flightrecorder.util.ChunkReader.StreamState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ChunkReader.StreamState>
- Enclosing class:
- ChunkReader
private static enum ChunkReader.StreamState extends java.lang.Enum<ChunkReader.StreamState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
JFR_CHECKED
NEXT_CHUNK
-
Constructor Summary
Constructors Modifier Constructor Description private
StreamState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChunkReader.StreamState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ChunkReader.StreamState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEXT_CHUNK
public static final ChunkReader.StreamState NEXT_CHUNK
-
JFR_CHECKED
public static final ChunkReader.StreamState JFR_CHECKED
-
ERROR
public static final ChunkReader.StreamState ERROR
-
-
Method Detail
-
values
public static ChunkReader.StreamState[] 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 (ChunkReader.StreamState c : ChunkReader.StreamState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChunkReader.StreamState 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
-
-