Enum Classifier
- All Implemented Interfaces:
LanguageForm, Serializable, Comparable<Classifier>, Constable
Generic classifier categories for languages that require measure words or counters.
This enum is intentionally non-exhaustive. It captures common cross-language semantic buckets used by classifier systems while remaining small enough to be practical in application code.
- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnimals or living creatures.Bound volumes such as books or magazines.Flat, thin, or sheet-like objects.General-purpose classifier.Long, thin, or cylindrical objects.Machines, devices, or large pieces of equipment.People or human referents.Vehicles. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassifierReturns the enum constant of this type with the specified name.static Classifier[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
GENERAL
General-purpose classifier. -
PERSON
People or human referents. -
ANIMAL
Animals or living creatures. -
LONG_THIN
Long, thin, or cylindrical objects. -
FLAT
Flat, thin, or sheet-like objects. -
BOUND
Bound volumes such as books or magazines. -
MACHINE
Machines, devices, or large pieces of equipment. -
VEHICLE
Vehicles.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-