Module omix.api
Package omix.util.ui

Interface ThrowingFloatSupplier<E extends Throwable>

Type Parameters:
E - any type of a possibly thrown Exception.
All Superinterfaces:
Serializable

public interface ThrowingFloatSupplier<E extends Throwable>
extends Serializable
This interface must be implemented to perform an arbitrary action in a parallel thread.
Since:
Omix 2.0.0
Author:
Dr. Peter Droste, Omix Visualization
  • Method Summary

    Modifier and Type Method Description
    float get()
    This method is called inside of the EventLoopParallelAction#execute(ThrowingFloatSupplier) method.
  • Method Details

    • get

      float get() throws E extends Throwable
      This method is called inside of the EventLoopParallelAction#execute(ThrowingFloatSupplier) method.
      Returns:
      an arbitrary result
      Throws:
      Throwable - can throw any exception