Class Optional<T>

    • Method Detail

      • of

        public static <T> Optional<T> of​(T it)
      • get

        public abstract T get()
      • isEmpty

        public abstract boolean isEmpty()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object