MockResponse.getObjetoRespostaUsando(JsonToObjectFunction). Esta classe será removida em versões
futuras.@Deprecated public abstract class TypeReference<T> extends Object implements Comparable<TypeReference<T>>
TypeReference| Modifier | Constructor and Description |
|---|---|
protected |
TypeReference()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TypeReference<T> o)
Deprecated.
The only reason we define this method (and require implementation of
Comparable) is to prevent constructing a reference without type
information. |
Type |
getType()
Deprecated.
|
public Type getType()
public int compareTo(TypeReference<T> o)
Comparable) is to prevent constructing a reference without type
information.compareTo in interface Comparable<TypeReference<T>>Copyright © 2016–2019 Tribunal Superior do Trabalho. All rights reserved.