public class WrapFormatTypeToken<PARSED,OUT> extends java.lang.Object implements WrapFormat<PARSED,OUT>
| Constructor and Description |
|---|
WrapFormatTypeToken(TypeToken<PARSED> type,
TypeToken<OUT> toWrapperType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<OUT> |
getOutType() |
java.lang.Class<?> |
getOutTypeOrParsed() |
java.lang.Class<PARSED> |
getParsedType() |
boolean |
hasOutType() |
TypeToken<?> |
outOrElseParsed() |
TypeToken<OUT> |
outType() |
TypeToken<PARSED> |
parsedType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotWrapped, notWrapped, of, ofpublic java.lang.Class<PARSED> getParsedType()
getParsedType in interface WrapFormat<PARSED,OUT>public TypeToken<PARSED> parsedType()
parsedType in interface WrapFormat<PARSED,OUT>public boolean hasOutType()
hasOutType in interface WrapFormat<PARSED,OUT>public java.lang.Class<?> getOutTypeOrParsed()
getOutTypeOrParsed in interface WrapFormat<PARSED,OUT>public TypeToken<?> outOrElseParsed()
outOrElseParsed in interface WrapFormat<PARSED,OUT>public java.lang.Class<OUT> getOutType()
getOutType in interface WrapFormat<PARSED,OUT>