public enum Emoji extends Enum<Emoji>
Enum Constant and Description |
---|
ASTONISHED |
BOOK |
CRY |
LOUDSPEAKER |
MASK |
MEGA |
PAGE_FACING_UP |
QUESTION |
RAGE |
SMILEY |
Modifier and Type | Method and Description |
---|---|
String |
getSymbol() |
static Emoji |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Emoji[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Emoji LOUDSPEAKER
public static final Emoji MEGA
public static final Emoji ASTONISHED
public static final Emoji RAGE
public static final Emoji CRY
public static final Emoji SMILEY
public static final Emoji MASK
public static final Emoji BOOK
public static final Emoji PAGE_FACING_UP
public static final Emoji QUESTION
public static Emoji[] values()
for (Emoji c : Emoji.values()) System.out.println(c);
public static Emoji 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 String getSymbol()
Copyright © 2016–2022. All rights reserved.