public abstract class EnumeratedType extends StringValue
Constructor and Description |
---|
EnumeratedType(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static List<EnumeratedType> |
getValues(Class<? extends EnumeratedType> c)
Gets the enumerated type values for a given subclass of EnumeratedType.
|
Object |
readResolve()
Method to ensure that == works after deserialization
|
afterFirst, afterLast, beforeFirst, beforeLast, equals, hashCode, isEmpty, isNull, repeat, repeat, replaceAll, to, toBoolean, toBoolean, toBooleanObject, toChar, toChar, toCharacter, toDouble, toDouble, toDoubleObject, toDuration, toDuration, toEnum, toEnum, toEnum, toInt, toInt, toInteger, toLong, toLong, toLongObject, toOptional, toOptionalBoolean, toOptionalCharacter, toOptionalDouble, toOptionalDuration, toOptionalEnum, toOptionalInteger, toOptionalLong, toOptionalString, toOptionalTime, toString, toString, toTime, toTime, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf
public EnumeratedType(String name)
name
- Name of this enumerated type valuepublic static List<EnumeratedType> getValues(Class<? extends EnumeratedType> c)
c
- The enumerated type subclass to get values forpublic Object readResolve() throws ObjectStreamException
ObjectStreamException
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.