public static enum FileMode.type extends Enum<FileMode.type>
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
FileMode.type |
intern() |
String |
toString() |
static FileMode.type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileMode.type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileMode.type READ
public static final FileMode.type WRITE
public static final FileMode.type READWRITE
public static FileMode.type[] values()
for (FileMode.type c : FileMode.type.values()) System.out.println(c);
public static FileMode.type 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 FileMode.type intern()
public String toString()
toString in class Enum<FileMode.type>Copyright © 2021. All rights reserved.