Class Optional<T>

  • Type Parameters:
    T -

    public class Optional<T>
    extends java.lang.Object
    Pre-Java-9-compatible facade for Java 9's java.util.Optional class.
    • Constructor Summary

      Constructors 
      Constructor Description
      Optional​(java.lang.Object delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()  
      • Methods inherited from class java.lang.Object

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

      • Optional

        public Optional​(java.lang.Object delegate)
    • Method Detail

      • get

        public T get()