Class NullableDocumentOf<E>

  • Type Parameters:
    E - The type of the value contained in the NullableDocument.
    All Implemented Interfaces:
    java.lang.reflect.ParameterizedType, java.lang.reflect.Type

    public final class NullableDocumentOf<E>
    extends ParameterizedOf<NullableDocument<E>>
    Represents a NullableDocument with a specified value type, allowing for retention of the generic type E during deserialization by circumventing type erasure.
    • Constructor Summary

      Constructors 
      Constructor Description
      NullableDocumentOf​(java.lang.Class<E> valueClass)
      Constructs a NullableDocumentOf instance for the specified value type.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.reflect.Type

        getTypeName
    • Constructor Detail

      • NullableDocumentOf

        public NullableDocumentOf​(java.lang.Class<E> valueClass)
        Constructs a NullableDocumentOf instance for the specified value type.
        Parameters:
        valueClass - The class of the value contained in the NullableDocument.