Enum Class EmojiSubGroup

java.lang.Object
java.lang.Enum<EmojiSubGroup>
net.fellbaum.jemoji.EmojiSubGroup
All Implemented Interfaces:
Serializable, Comparable<EmojiSubGroup>, Constable

@Generated("emoji-generator") public enum EmojiSubGroup extends Enum<EmojiSubGroup>
This enum represents various subgroups of emojis. Each subgroup is associated with a specific EmojiGroup, categorizing the emojis into their respective thematic groups. These subgroups allow for better organization and retrieval of emojis.
  • Enum Constant Details

  • Method Details

    • values

      public static EmojiSubGroup[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EmojiSubGroup valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Gets the name of the emoji sub group.
      Returns:
      The name of the emoji subgroup.
    • getSubGroups

      public static List<EmojiSubGroup> getSubGroups()
      Gets all emoji subgroups.
      Returns:
      All emoji subgroups.
    • fromString

      public static EmojiSubGroup fromString(String name)
      Gets the emoji subgroup for the given name.
      Parameters:
      name - The name of the emoji subgroup.
      Returns:
      The emoji subgroup.
    • getGroup

      public EmojiGroup getGroup()
      Gets the parent group this sub group belongs to.
      Returns:
      The parent group.