118 строки
8.1 KiB
YAML
118 строки
8.1 KiB
YAML
### 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:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
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>"
|
|
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>>"
|
|
constructors:
|
|
- uid: "com.azure.core.util.ExpandableStringEnum.ExpandableStringEnum()"
|
|
fullName: "com.azure.core.util.ExpandableStringEnum<T>.ExpandableStringEnum()"
|
|
name: "ExpandableStringEnum()"
|
|
nameWithType: "ExpandableStringEnum<T>.ExpandableStringEnum()"
|
|
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
|
|
methods:
|
|
- uid: "com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)"
|
|
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)"
|
|
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"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "The class of the expandable string enum."
|
|
name: "clazz"
|
|
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\" />>"
|
|
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>)"
|
|
fullName: "com.azure.core.util.ExpandableStringEnum<T>.values(Class<T> clazz)"
|
|
name: "values(Class<T> clazz)"
|
|
nameWithType: "ExpandableStringEnum<T>.values(Class<T> clazz)"
|
|
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"
|
|
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\" />>"
|
|
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>."
|
|
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\" />>"
|
|
- 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"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
syntax: "public boolean equals(Object obj)"
|
|
returns:
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
- 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>"
|
|
- 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:
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
type: "class"
|
|
typeParameters:
|
|
- description: "a specific expandable enum type"
|
|
name: "T"
|
|
desc: "Base implementation for expandable, single string enums."
|
|
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>>"
|
|
metadata: {}
|
|
package: "com.azure.core.util"
|
|
artifact: com.azure:azure-core:1.52.0
|