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