Package com.fauna.codec
Class NullableDocumentOf<E>
- java.lang.Object
-
- com.fauna.codec.ParameterizedOf<NullableDocument<E>>
-
- com.fauna.codec.NullableDocumentOf<E>
-
- Type Parameters:
E
- The type of the value contained in theNullableDocument
.
- All Implemented Interfaces:
java.lang.reflect.ParameterizedType
,java.lang.reflect.Type
public final class NullableDocumentOf<E> extends ParameterizedOf<NullableDocument<E>>
Represents aNullableDocument
with a specified value type, allowing for retention of the generic typeE
during deserialization by circumventing type erasure.
-
-
Constructor Summary
Constructors Constructor Description NullableDocumentOf(java.lang.Class<E> valueClass)
Constructs aNullableDocumentOf
instance for the specified value type.
-
Method Summary
-
Methods inherited from class com.fauna.codec.ParameterizedOf
getActualTypeArguments, getOwnerType, getRawType
-
-
-
-
Constructor Detail
-
NullableDocumentOf
public NullableDocumentOf(java.lang.Class<E> valueClass)
Constructs aNullableDocumentOf
instance for the specified value type.- Parameters:
valueClass
- The class of the value contained in theNullableDocument
.
-
-