Package spin.off

Class SimpleStarter

  • All Implemented Interfaces:
    Starter

    public class SimpleStarter
    extends java.lang.Object
    implements Starter
    Simple implementation of a Starter that creates a new thread for each invocation of start(Runnable).
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleStarter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void start​(java.lang.Runnable runnable)
      Start a runnable asynchronously.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleStarter

        public SimpleStarter()
    • Method Detail

      • start

        public void start​(java.lang.Runnable runnable)
        Start a runnable asynchronously.
        Specified by:
        start in interface Starter
        Parameters:
        runnable - runnable to start