Interface RememberingPropertyExpressionResolver.Memory

Enclosing interface:
RememberingPropertyExpressionResolver
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 static interface RememberingPropertyExpressionResolver.Memory
Where an expression of a property keeps what it has resolved to.
Since:
5.2.20
Author:
Radovan Radic
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns what is remembered for the expression, resolving and remembering it first if nothing is.
  • Method Details

    • remember

      Object remember(Supplier<Object> value)
      Returns what is remembered for the expression, resolving and remembering it first if nothing is.
      Parameters:
      value - Resolves the expression, called only if nothing is remembered for it
      Returns:
      What is remembered for the expression