Interface TrsStoreFunction<R>

Type Parameters:
R - the type of the result of the function
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 TrsStoreFunction<R>
Executes operations on a TrsStore. This function is to run by a synchronizer.
Since:
1.10.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(TrsStore store)
    Applies this function to the given store.
  • Method Details

    • apply

      R apply(TrsStore store) throws TrsStoreException
      Applies this function to the given store.
      Parameters:
      store - the TRS store.
      Returns:
      the function result
      Throws:
      TrsStoreException - if a store method throws such exception