Type Parameters:
E - type of error that this interface can throw
All Known Subinterfaces:
Run.Safe<E>

public interface Run<E extends Throwable>
Interface used for the execution of actions very similar to what is done in the Runnable interface
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Interface used for the execution of actions very similar to what is done in the Runnable interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Action to execute
  • Method Details

    • invoke

      void invoke() throws E
      Action to execute
      Throws:
      E - error if something goes wrong