Interface Box<T>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Box<T>
    Author:
    Hakan Altindag
    • Method Detail

      • of

        static <T> Box<T> of​(T value)
      • map

        default <R> Box<R> map​(Function<? super T,​? extends R> mapper)
      • get

        default T get()