public interface VariantEmoji
| Modifier and Type | Method and Description |
|---|---|
void |
addVariant(Emoji newVariant)
Should add the emoji to the variants.
|
Emoji |
getVariant(Emoji desiredEmoji)
Returns the variant for the passed emoji.
|
void |
persist()
Should persist all emojis.
|
Emoji getVariant(Emoji desiredEmoji)
desiredEmoji - The emoji to retrieve the variant for. If none is found,
the passed emoji should be returned.void addVariant(Emoji newVariant)
getVariant(Emoji)
should return the emoji that was just added.newVariant - The new variant to save.void persist()