Class NonNullDocument<T>

    • Constructor Summary

      Constructors 
      Constructor Description
      NonNullDocument​(T val)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      T get()
      Get the wrapped value.
      T getValue()
      Get the wrapped value.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NonNullDocument

        public NonNullDocument​(T val)
    • Method Detail

      • get

        public T get()
        Get the wrapped value.
        Specified by:
        get in class NullableDocument<T>
        Returns:
        The wrapped value
      • getValue

        public T getValue()
        Get the wrapped value.
        Returns:
        The wrapped value
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object