Enum Class EmojiGroup

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

@Generated("emoji-generator") public enum EmojiGroup extends Enum<EmojiGroup>
Represents a group of emojis categorized by their thematic content, such as Activities, Animals & Nature, Flags, etc.
  • Enum Constant Details

    • SMILEYS_AND_EMOTION

      public static final EmojiGroup SMILEYS_AND_EMOTION
    • PEOPLE_AND_BODY

      public static final EmojiGroup PEOPLE_AND_BODY
    • COMPONENT

      public static final EmojiGroup COMPONENT
    • ANIMALS_AND_NATURE

      public static final EmojiGroup ANIMALS_AND_NATURE
    • FOOD_AND_DRINK

      public static final EmojiGroup FOOD_AND_DRINK
    • TRAVEL_AND_PLACES

      public static final EmojiGroup TRAVEL_AND_PLACES
    • ACTIVITIES

      public static final EmojiGroup ACTIVITIES
    • OBJECTS

      public static final EmojiGroup OBJECTS
    • SYMBOLS

      public static final EmojiGroup SYMBOLS
    • FLAGS

      public static final EmojiGroup FLAGS
  • Method Details

    • values

      public static EmojiGroup[] 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 EmojiGroup 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 group.
      Returns:
      The name of the emoji group.
    • getGroups

      public static List<EmojiGroup> getGroups()
      Gets all emoji groups.
      Returns:
      All emoji groups.
    • fromString

      public static EmojiGroup fromString(String name)
      Gets the emoji group for the given name.
      Parameters:
      name - The name of the emoji group.
      Returns:
      The emoji group.
    • getSubGroups

      public EnumSet<EmojiSubGroup> getSubGroups()
      Gets all emoji subgroups related to this group.
      Returns:
      All emoji subgroups.