T - public abstract class TypeReference<T> extends Object implements Comparable<TypeReference<T>>
| Modifier | Constructor and Description |
|---|---|
protected |
TypeReference() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TypeReference<T> o)
The only reason we define this method (and require implementation of
Comparable) is to prevent constructing a reference without
type information. |
Type |
getType() |
protected final Type _type
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 © 2018 Empyr, Inc.. All rights reserved.