ExpandableStringEnum<T> Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.fluentcore.arm.ExpandableStringEnum<T>

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 ExpandableStringEnum<T> T fromString(String name, Class<T> clazz)
int hashCode()
String toString()
static<T extends ExpandableStringEnum<T> Collection<T> 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 T fromString(String name, Class clazz)

Parameters:

name
clazz

hashCode

public int hashCode()

toString

public String toString()

values

protected static static Collection values(Class clazz)

Parameters:

clazz

withNameValue

protected T withNameValue(String name, T value, Class clazz)

Parameters:

name
value
clazz

Applies to