public enum OpenType extends Enum<OpenType>
| Enum Constant and Description |
|---|
JUSTOPEN |
OPENCREATE |
TRUNCOPEN |
| Modifier and Type | Method and Description |
|---|---|
static OpenType |
fromInt(int e) |
static int |
toInt(int ordinal) |
static OpenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenType OPENCREATE
public static final OpenType TRUNCOPEN
public static final OpenType JUSTOPEN
public static OpenType[] values()
for (OpenType c : OpenType.values()) System.out.println(c);
public static OpenType 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 OpenType fromInt(int e)
public static int toInt(int ordinal)
Copyright © 2021. All rights reserved.