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 Summary

    Modifier and Type
    Method
    Description
    get()
    Gets a result.
  • Method Details

    • get

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