Package net.jpountz.lz4
Enum LZ4FrameOutputStream.BLOCKSIZE
- java.lang.Object
-
- java.lang.Enum<LZ4FrameOutputStream.BLOCKSIZE>
-
- net.jpountz.lz4.LZ4FrameOutputStream.BLOCKSIZE
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LZ4FrameOutputStream.BLOCKSIZE>
- Enclosing class:
- LZ4FrameOutputStream
public static enum LZ4FrameOutputStream.BLOCKSIZE extends java.lang.Enum<LZ4FrameOutputStream.BLOCKSIZE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SIZE_1MB
SIZE_256KB
SIZE_4MB
SIZE_64KB
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndicator()
static LZ4FrameOutputStream.BLOCKSIZE
valueOf(int indicator)
Returns the enum constant of this type with the specified name.static LZ4FrameOutputStream.BLOCKSIZE
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LZ4FrameOutputStream.BLOCKSIZE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIZE_64KB
public static final LZ4FrameOutputStream.BLOCKSIZE SIZE_64KB
-
SIZE_256KB
public static final LZ4FrameOutputStream.BLOCKSIZE SIZE_256KB
-
SIZE_1MB
public static final LZ4FrameOutputStream.BLOCKSIZE SIZE_1MB
-
SIZE_4MB
public static final LZ4FrameOutputStream.BLOCKSIZE SIZE_4MB
-
-
Method Detail
-
values
public static LZ4FrameOutputStream.BLOCKSIZE[] 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 (LZ4FrameOutputStream.BLOCKSIZE c : LZ4FrameOutputStream.BLOCKSIZE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LZ4FrameOutputStream.BLOCKSIZE 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
-
getIndicator
public int getIndicator()
-
valueOf
public static LZ4FrameOutputStream.BLOCKSIZE valueOf(int indicator)
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:
indicator
- 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
-
-