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 abstract class ExpandableStringEnum
Base implementation for expandable, single string enums.
Constructor Summary
Constructor | Description | |
---|---|---|
ExpandableStringEnum() |
Method Summary
Modifier and Type | Method and Description |
---|---|
protected static T | fromString(String name, Class<T> clazz) |
protected static java.util.Collection<T> | values(Class<T> clazz) |
boolean | equals(Object obj) |
int | hashCode() |
java.lang.String | toString() |
protected T | withNameValue(String name, T value, Class<T> clazz) |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
ExpandableStringEnum
public ExpandableStringEnum()
Method Details
fromString
protected static T
Parameters:
name
clazz
values
protected static Collection
Parameters:
clazz
equals
public boolean equals(Object obj)
Overrides:
ExpandableStringEnum<T>.equals(Object obj)Parameters:
obj
hashCode
public int hashCode()
Overrides:
ExpandableStringEnum<T>.hashCode()toString
public String toString()
Overrides:
ExpandableStringEnum<T>.toString()withNameValue
protected T withNameValue(String name, T value, Class
Parameters:
name
value
clazz
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java