Package com.jcabi.log

Interface Supplier<T>

  • Type Parameters:
    T - The type of results supplied by this supplier

    public interface Supplier<T>
    Functional interface used as assignment target for Java8 lambda expressions or method references. Can be used for method referencing when the method signature respects the following: returns something and takes no arguments.
    Since:
    0.18
    • Method Detail

      • get

        T get()
        Gets a result.
        Returns:
        A result