T
- a specific expandable enum typepublic abstract class ExpandableStringEnum<T extends ExpandableStringEnum<T>> extends Object
Constructor and Description |
---|
ExpandableStringEnum() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected static <T extends ExpandableStringEnum<T>> |
fromString(String name,
Class<T> clazz)
Creates an instance of the specific expandable string enum from a String.
|
int |
hashCode() |
String |
toString() |
protected static <T extends ExpandableStringEnum<T>> |
values(Class<T> clazz)
Gets a collection of all known values to an expandable string enum type.
|
protected static <T extends ExpandableStringEnum<T>> T fromString(String name, 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>> Collection<T> values(Class<T> clazz)
T
- the class of the expandable string enum.clazz
- the class of the expandable string enum.clazz
.Copyright © 2021 Microsoft Corporation. All rights reserved.