Module java.base
Package java.util.concurrent

Interface RunnableFuture<V>

    • Method Summary

      All Methods
      Modifier and Type Method Description
      void run ​()
      Sets this Future to the result of its computation unless it has been cancelled.
    • Method Detail

      • run

        void run​()
        Sets this Future to the result of its computation unless it has been cancelled.
        Specified by:
        run in interface Runnable
        See Also:
        Thread.run()