public class EmojiCategory extends Object
Modifier and Type | Method and Description |
---|---|
static @Nullable EmojiCategory |
getByIndex(int index)
Gets any EmojiCategory from the cache by its index, or null if the given index could not be found.
|
int |
getIndex()
Gets the index of the emoji category.
|
String |
getName()
Gets the name of the emoji category.
|
static EmojiCategory |
getOrCreate(com.fasterxml.jackson.databind.JsonNode data,
int index)
Internal method.
|
public String getName()
public int getIndex()
@Nullable public static @Nullable EmojiCategory getByIndex(int index)
index
- The index.public static EmojiCategory getOrCreate(com.fasterxml.jackson.databind.JsonNode data, int index)