T - A specific expandable enum type.public abstract class ExpandableStringEnum<T extends ExpandableStringEnum<T>>
extends java.lang.Object
| Constructor and Description |
|---|
ExpandableStringEnum() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
protected static <T extends ExpandableStringEnum<T>> |
fromString(java.lang.String name,
java.lang.Class<T> clazz)
Creates an instance of the specific expandable string enum from a String.
|
int |
hashCode() |
java.lang.String |
toString() |
protected static <T extends ExpandableStringEnum<T>> |
values(java.lang.Class<T> clazz)
Gets a collection of all known values to an expandable string enum type.
|
protected static <T extends ExpandableStringEnum<T>> T fromString(java.lang.String name, java.lang.Class<T> clazz)
T - The class of the expandable string enum.name - The value to create the instance from.clazz - The class of the expandable string enum.protected static <T extends ExpandableStringEnum<T>> java.util.Collection<T> values(java.lang.Class<T> clazz)
T - The class of the expandable string enum.clazz - The class of the expandable string enum.clazz.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object