public static enum Consts.CompressType extends Enum<Consts.CompressType>
| Modifier and Type | Method and Description |
|---|---|
static Consts.CompressType |
fromString(String compressType) |
String |
toString() |
static Consts.CompressType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Consts.CompressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Consts.CompressType NONE
public static final Consts.CompressType LZ4
public static final Consts.CompressType GZIP
public static final Consts.CompressType ZSTD
public static Consts.CompressType[] values()
for (Consts.CompressType c : Consts.CompressType.values()) System.out.println(c);
public static Consts.CompressType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Consts.CompressType>public static Consts.CompressType fromString(String compressType)
Copyright © 2025. All Rights Reserved.