T
- public abstract class TypeRef<T> extends Object implements Comparable<TypeRef<T>>
ReadContext
TypeRef ref = new TypeRef>() { };
Modifier | Constructor and Description |
---|---|
protected |
TypeRef() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TypeRef<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
Copyright © 2022. All rights reserved.