2020-12-04 14:02:06 +03:00
### YamlMime:JavaType
uid : "com.azure.core.util.ExpandableStringEnum"
fullName : "com.azure.core.util.ExpandableStringEnum<T>"
name : "ExpandableStringEnum<T>"
nameWithType : "ExpandableStringEnum<T>"
summary : "Base implementation for expandable, single string enums."
inheritances :
2022-08-11 07:43:16 +03:00
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
2022-09-27 07:22:51 +03:00
inheritedClassMethods :
- classRef : "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef :
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
2024-09-13 07:59:32 +03:00
syntax : "public abstract class **ExpandableStringEnum<T>**</br> implements <xref href=\"com.azure.core.util.ExpandableEnum?alt=com.azure.core.util.ExpandableEnum&text=ExpandableEnum\" data-throw-if-not-resolved=\"False\" /><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
2020-12-04 14:02:06 +03:00
constructors :
2022-08-22 08:55:24 +03:00
- uid : "com.azure.core.util.ExpandableStringEnum.ExpandableStringEnum()"
fullName : "com.azure.core.util.ExpandableStringEnum<T>.ExpandableStringEnum()"
name : "ExpandableStringEnum()"
nameWithType : "ExpandableStringEnum<T>.ExpandableStringEnum()"
2022-11-08 00:09:01 +03:00
summary : "Creates a new instance of <xref uid=\"com.azure.core.util.ExpandableStringEnum\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ExpandableStringEnum\"></xref> without a <xref uid=\"com.azure.core.util.ExpandableStringEnum.toString()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#toString()\"></xref> value."
deprecatedTag : "Use the <xref uid=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String, Class)\"></xref> factory method."
syntax : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public ExpandableStringEnum()"
desc : "Creates a new instance of <xref uid=\"com.azure.core.util.ExpandableStringEnum\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ExpandableStringEnum\"></xref> without a <xref uid=\"com.azure.core.util.ExpandableStringEnum.toString()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#toString()\"></xref> value.\n\nThis constructor shouldn't be called as it will produce a <xref uid=\"com.azure.core.util.ExpandableStringEnum\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ExpandableStringEnum\"></xref> which doesn't have a String enum value."
hasDeprecatedTag : true
2020-12-04 14:02:06 +03:00
methods :
2022-08-22 08:55:24 +03:00
- uid : "com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)"
2022-12-01 08:13:59 +03:00
fullName : "com.azure.core.util.ExpandableStringEnum<T>.fromString(String name, Class<T> clazz)"
name : "fromString(String name, Class<T> clazz)"
nameWithType : "ExpandableStringEnum<T>.fromString(String name, Class<T> clazz)"
2022-08-22 08:55:24 +03:00
summary : "Creates an instance of the specific expandable string enum from a String."
modifiers :
- "protected"
- "static"
parameters :
- description : "The value to create the instance from."
name : "name"
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
2022-08-22 08:55:24 +03:00
- description : "The class of the expandable string enum."
name : "clazz"
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html\">Class</a><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
2022-08-22 08:55:24 +03:00
syntax : "protected static T <T>fromString(String name, Class<T> clazz)"
desc : "Creates an instance of the specific expandable string enum from a String."
returns :
description : "The expandable string enum instance."
type : "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- uid : "com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)"
2022-12-01 08:13:59 +03:00
fullName : "com.azure.core.util.ExpandableStringEnum<T>.values(Class<T> clazz)"
name : "values(Class<T> clazz)"
nameWithType : "ExpandableStringEnum<T>.values(Class<T> clazz)"
2022-08-22 08:55:24 +03:00
summary : "Gets a collection of all known values to an expandable string enum type."
modifiers :
- "protected"
- "static"
parameters :
- description : "the class of the expandable string enum."
name : "clazz"
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html\">Class</a><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
2022-08-22 08:55:24 +03:00
syntax : "protected static Collection<T> <T>values(Class<T> clazz)"
desc : "Gets a collection of all known values to an expandable string enum type."
returns :
description : "A collection of all known values for the given <code>clazz</code>."
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
2022-08-22 08:55:24 +03:00
- uid : "com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)"
fullName : "com.azure.core.util.ExpandableStringEnum<T>.equals(Object obj)"
name : "equals(Object obj)"
nameWithType : "ExpandableStringEnum<T>.equals(Object obj)"
overridden : "java.lang.Object.equals(java.lang.Object)"
parameters :
- name : "obj"
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
2022-08-22 08:55:24 +03:00
syntax : "public boolean equals(Object obj)"
returns :
type : "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
2024-09-13 07:59:32 +03:00
- uid : "com.azure.core.util.ExpandableStringEnum.getValue()"
fullName : "com.azure.core.util.ExpandableStringEnum<T>.getValue()"
name : "getValue()"
nameWithType : "ExpandableStringEnum<T>.getValue()"
summary : "Returns the value represented by this expandable enum instance."
syntax : "public String getValue()"
desc : "Returns the value represented by this expandable enum instance."
returns :
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
2022-08-22 08:55:24 +03:00
- uid : "com.azure.core.util.ExpandableStringEnum.hashCode()"
fullName : "com.azure.core.util.ExpandableStringEnum<T>.hashCode()"
name : "hashCode()"
nameWithType : "ExpandableStringEnum<T>.hashCode()"
overridden : "java.lang.Object.hashCode()"
syntax : "public int hashCode()"
returns :
type : "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid : "com.azure.core.util.ExpandableStringEnum.toString()"
fullName : "com.azure.core.util.ExpandableStringEnum<T>.toString()"
name : "toString()"
nameWithType : "ExpandableStringEnum<T>.toString()"
overridden : "java.lang.Object.toString()"
syntax : "public String toString()"
returns :
2022-09-07 07:25:44 +03:00
type : "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
2020-12-04 14:02:06 +03:00
type : "class"
typeParameters :
2022-08-11 07:43:16 +03:00
- description : "a specific expandable enum type"
name : "T"
desc : "Base implementation for expandable, single string enums."
2024-09-13 07:59:32 +03:00
implements :
- "<xref href=\"com.azure.core.util.ExpandableEnum?alt=com.azure.core.util.ExpandableEnum&text=ExpandableEnum\" data-throw-if-not-resolved=\"False\" /><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
2020-12-04 14:02:06 +03:00
metadata : {}
package : "com.azure.core.util"
2024-09-13 07:59:32 +03:00
artifact : com.azure:azure-core:1.52.0