Modifier and Type | Method and Description |
---|---|
static <T> TypeToken<T> |
TypeToken.get(Class<T> type)
Gets type token for the given
Class instance. |
static TypeToken<?> |
TypeToken.get(Type type)
Gets type token for the given
Type instance. |
Copyright © 2016. All rights reserved.