### YamlMime:JavaType uid: "com.azure.core.util.ExpandableStringEnum" fullName: "com.azure.core.util.ExpandableStringEnum" name: "ExpandableStringEnum" nameWithType: "ExpandableStringEnum" summary: "Base implementation for expandable, single string enums." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public abstract class **ExpandableStringEnum**
implements <String>" constructors: - uid: "com.azure.core.util.ExpandableStringEnum.ExpandableStringEnum()" fullName: "com.azure.core.util.ExpandableStringEnum.ExpandableStringEnum()" name: "ExpandableStringEnum()" nameWithType: "ExpandableStringEnum.ExpandableStringEnum()" summary: "Creates a new instance of without a value." deprecatedTag: "Use the fromString(java.lang.String,java.lang.Class)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String, Class)\"> factory method." syntax: "@Deprecated
public ExpandableStringEnum()" desc: "Creates a new instance of without a value.\n\nThis constructor shouldn't be called as it will produce a which doesn't have a String enum value." hasDeprecatedTag: true methods: - uid: "com.azure.core.util.ExpandableStringEnum.fromString(java.lang.String,java.lang.Class)" fullName: "com.azure.core.util.ExpandableStringEnum.fromString(String name, Class clazz)" name: "fromString(String name, Class clazz)" nameWithType: "ExpandableStringEnum.fromString(String name, Class 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: "String" - description: "The class of the expandable string enum." name: "clazz" type: "Class<>" syntax: "protected static T fromString(String name, Class clazz)" desc: "Creates an instance of the specific expandable string enum from a String." returns: description: "The expandable string enum instance." type: "" - uid: "com.azure.core.util.ExpandableStringEnum.values(java.lang.Class)" fullName: "com.azure.core.util.ExpandableStringEnum.values(Class clazz)" name: "values(Class clazz)" nameWithType: "ExpandableStringEnum.values(Class 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: "Class<>" syntax: "protected static Collection values(Class 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 clazz." type: "Collection<>" - uid: "com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)" fullName: "com.azure.core.util.ExpandableStringEnum.equals(Object obj)" name: "equals(Object obj)" nameWithType: "ExpandableStringEnum.equals(Object obj)" overridden: "java.lang.Object.equals(java.lang.Object)" parameters: - name: "obj" type: "Object" syntax: "public boolean equals(Object obj)" returns: type: "" - uid: "com.azure.core.util.ExpandableStringEnum.getValue()" fullName: "com.azure.core.util.ExpandableStringEnum.getValue()" name: "getValue()" nameWithType: "ExpandableStringEnum.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: "String" - uid: "com.azure.core.util.ExpandableStringEnum.hashCode()" fullName: "com.azure.core.util.ExpandableStringEnum.hashCode()" name: "hashCode()" nameWithType: "ExpandableStringEnum.hashCode()" overridden: "java.lang.Object.hashCode()" syntax: "public int hashCode()" returns: type: "" - uid: "com.azure.core.util.ExpandableStringEnum.toString()" fullName: "com.azure.core.util.ExpandableStringEnum.toString()" name: "toString()" nameWithType: "ExpandableStringEnum.toString()" overridden: "java.lang.Object.toString()" syntax: "public String toString()" returns: type: "String" type: "class" typeParameters: - description: "a specific expandable enum type" name: "T" desc: "Base implementation for expandable, single string enums." implements: - "<String>" metadata: {} package: "com.azure.core.util" artifact: com.azure:azure-core:1.52.0