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:
obj
fromString
protected static static
Parameters:
name
clazz
hashCode
public int hashCode()
toString
public String toString()
values
protected static static
Parameters:
clazz
withNameValue
protected T withNameValue(String name, T value, Class
Parameters:
name
value
clazz
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java