ExpandableStringEnum<T> Classe
- java.
lang. Object - com.
microsoft. bot. restclient. ExpandableStringEnum<T>
- com.
Parâmetros de tipo
- T
um tipo de enumeração expansível específico
public abstract class ExpandableStringEnum
Implementação base para enumerações expansíveis e de cadeia de caracteres única.
Resumo do Construtor
| Construtor | Description | |
|---|---|---|
| ExpandableStringEnum() | ||
Resumo do método
| Modificador e tipo | Método e descrição |
|---|---|
| protected static T | <T>fromString(String name, Class<T> clazz) |
| protected static java.util.Collection<T> | <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) |
Métodos herdados de java.lang.Object
Detalhes do construtor
ExpandableStringEnum
public ExpandableStringEnum()
Detalhes do método
<T>fromString
protected static T
Parâmetros:
<T>values
protected static Collection
Parâmetros:
equals
public boolean equals(Object obj)
Substituições:
ExpandableStringEnum<T>.equals(Object obj)Parâmetros:
hashCode
public int hashCode()
Substituições:
ExpandableStringEnum<T>.hashCode()toString
public String toString()
Substituições:
ExpandableStringEnum<T>.toString()withNameValue
protected T withNameValue(String name, T value, Class
Parâmetros: