public class OptionalIntAdapter extends AbstractTypeAdapter<OptionalInt,Integer>
| Constructor and Description |
|---|
OptionalIntAdapter() |
| Modifier and Type | Method and Description |
|---|---|
OptionalInt |
convertInput(Integer substitute,
AnnotatedType type,
ResolutionEnvironment resolutionEnvironment) |
Integer |
convertOutput(OptionalInt original,
AnnotatedType type,
ResolutionEnvironment resolutionEnvironment) |
supportsgetSubstituteType, toGraphQLInputType, toGraphQLTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSubstituteTypepublic Integer convertOutput(OptionalInt original, AnnotatedType type, ResolutionEnvironment resolutionEnvironment)
public OptionalInt convertInput(Integer substitute, AnnotatedType type, ResolutionEnvironment resolutionEnvironment)
Copyright © 2016–2017. All rights reserved.