Class Optional.Some<T>

  • Enclosing class:
    Optional<T>

    public static class Optional.Some<T>
    extends Optional<T>
    • Nested Class Summary

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Some​(T value)  
    • Method Summary

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        private final T value
    • Constructor Detail

      • Some

        Some​(T value)