Annotation Type Memoized


@Retention(RUNTIME) @Target(METHOD) public @interface Memoized
Annotates a method without arguments (Presumably non-deterministic) to make it return the memoized value of a previous execution instead of recalculating it. Takes a value, a ISO-8601 description of a Duration.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details