public static enum UserEvent.Type extends Enum<UserEvent.Type>
| Modifier and Type | Field and Description |
|---|---|
short |
id |
| Modifier and Type | Method and Description |
|---|---|
static UserEvent.Type |
fromId(int id) |
static UserEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserEvent.Type DOCUMENT
public static final UserEvent.Type SEARCH
public static UserEvent.Type[] values()
for (UserEvent.Type c : UserEvent.Type.values()) System.out.println(c);
public static UserEvent.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 static UserEvent.Type fromId(int id)
Copyright © 2020–2022 ICIJ. All rights reserved.