Interface SafeEMF


@NonNullByDefault public interface SafeEMF
Service interface to execute EMF methods in a single based thread.
Author:
Markus Rathgeb - Initial contribution
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    call(Runnable func)
    Calls the given function.
    <T> T
    call(Supplier<T> func)
    Calls the given function.
  • Method Details

    • call

      <T> T call(Supplier<T> func)
      Calls the given function.
      Type Parameters:
      T - the return type of the calling function
      Parameters:
      func - the function to call
      Returns:
      the return value of the called function
    • call

      void call(Runnable func)
      Calls the given function.
      Parameters:
      func - the function to call