Package com.fauna.codec
Class OptionalOf<V>
- java.lang.Object
-
- com.fauna.codec.ParameterizedOf<java.util.Optional<V>>
-
- com.fauna.codec.OptionalOf<V>
-
- Type Parameters:
V
- The element class of the list.
- All Implemented Interfaces:
java.lang.reflect.ParameterizedType
,java.lang.reflect.Type
public class OptionalOf<V> extends ParameterizedOf<java.util.Optional<V>>
OptionalOf stores the generic parameter class to evade type erasure during deserialization.
-
-
Constructor Summary
Constructors Constructor Description OptionalOf(java.lang.Class<V> valueClass)
-
Method Summary
-
Methods inherited from class com.fauna.codec.ParameterizedOf
getActualTypeArguments, getOwnerType, getRawType
-
-
-
-
Constructor Detail
-
OptionalOf
public OptionalOf(java.lang.Class<V> valueClass)
-
-