public static enum PackType.ReadMode extends Enum<PackType.ReadMode>
Enum Constant and Description |
---|
SEEK_BEGIN |
SEEK_CUR |
SEEK_END |
SEEK_NEXT |
Modifier and Type | Method and Description |
---|---|
static PackType.ReadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackType.ReadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackType.ReadMode SEEK_CUR
public static final PackType.ReadMode SEEK_NEXT
public static final PackType.ReadMode SEEK_BEGIN
public static final PackType.ReadMode SEEK_END
public static PackType.ReadMode[] values()
for (PackType.ReadMode c : PackType.ReadMode.values()) System.out.println(c);
public static PackType.ReadMode 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 nullCopyright © 2020 Alibaba Cloud Computing. All rights reserved.