java.io.Serializable
, java.lang.Comparable<Invite.InviteType>
public static enum Invite.InviteType extends java.lang.Enum<Invite.InviteType>
Invite.getType()
Modifier and Type | Method | Description |
---|---|---|
static Invite.InviteType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Invite.InviteType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Invite.InviteType GUILD
public static final Invite.InviteType GROUP
public static final Invite.InviteType UNKNOWN
public static Invite.InviteType[] values()
for (Invite.InviteType c : Invite.InviteType.values()) System.out.println(c);
public static Invite.InviteType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null