ExpandableStringEnum<T> Class
- java.
lang. Object - com.
microsoft. azure. management. resources. fluentcore. arm. ExpandableStringEnum<T>
- com.
Type Parameters
- T
a specific expandable enum type
public class ExpandableStringEnum<T extends ExpandableStringEnum>
Base implementation for expandable, single string enums.
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object obj) |
static<T extends Expandable |
fromString(String name, Class<T> clazz) |
int | hashCode() |
String | toString() |
static<T extends Expandable |
values(Class<T> clazz) |
T | withNameValue(String name, T value, Class<T> clazz) |
Method Details
equals
public boolean equals(Object obj)
Parameters:
fromString
protected static static
Parameters:
hashCode
public int hashCode()
toString
public String toString()
values
protected static static
Parameters:
withNameValue
protected T withNameValue(String name, T value, Class
Parameters: