Interface GenericOperation<R>


public interface GenericOperation<R>
Allows for a generic operation that can be executed in a particular context.
Author:
Kelly Tisdell
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns R, the return value and throws T, the Throwable.
  • Method Details

    • execute

      R execute() throws Exception
      Returns R, the return value and throws T, the Throwable. Use Void as the return type and return null if void is the expected return type.
      Returns:
      Throws:
      Exception