public enum CompressionType extends Enum<CompressionType>
Enum Constant and Description |
---|
BITS |
CHAR |
INT |
LONGLONG |
SHORT |
UCHAR |
UINT |
ULONGLONG |
USHORT |
Modifier and Type | Method and Description |
---|---|
static CompressionType |
fromNativeId(int id)
Lookup the CompressionType that corresponds to the specified native identifier
|
int |
toNativeId()
Get the native code identifier for the type
|
static CompressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionType CHAR
public static final CompressionType UCHAR
public static final CompressionType SHORT
public static final CompressionType USHORT
public static final CompressionType INT
public static final CompressionType UINT
public static final CompressionType LONGLONG
public static final CompressionType ULONGLONG
public static final CompressionType BITS
public static CompressionType[] values()
for (CompressionType c : CompressionType.values()) System.out.println(c);
public static CompressionType 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 static CompressionType fromNativeId(int id)
public final int toNativeId()
Copyright © 2024. All rights reserved.