@Public public enum FileKind extends Enum<FileKind>
Modifier and Type | Method and Description |
---|---|
static FileKind |
fromByteValue(byte value) |
byte |
toByteValue() |
static FileKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileKind ADD
public static final FileKind DELETE
public static FileKind[] values()
for (FileKind c : FileKind.values()) System.out.println(c);
public static FileKind 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 byte toByteValue()
public static FileKind fromByteValue(byte value)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.