Package pro.horde.os.cutils.value
Class Pause.Run<T>
- java.lang.Object
-
- pro.horde.os.cutils.value.Pause.Run<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPause.Run.Delay<T>This class execute the delay and cause the pause before the set operations executed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()Pause.Run.Delay<T>thenRun(Dealer<T> dealer)Pause.Run.Delay<T>thenRun(Executable executable)This methods take anExecutableinstance with the operations to be executed after the pause.
-
-
-
Method Detail
-
thenRun
public Pause.Run.Delay<T> thenRun(Executable executable)
This methods take anExecutableinstance with the operations to be executed after the pause.- Parameters:
executable- instance ofExecutable- Returns:
- an instance of
Pause.Run.Delay
-
thenRun
public Pause.Run.Delay<T> thenRun(Dealer<T> dealer)
- Parameters:
dealer-- Returns:
-
-