Interface NoParamsFunction<R>

Type Parameters:
R - Type of the function's return value
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 NoParamsFunction<R>
Allows to create functions without arguments using lambda
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • apply

      R apply()