Uses of Record Class
dev.crafty.core.number.UnitNumber
Packages that use UnitNumber
-
Uses of UnitNumber in dev.crafty.core.number
Methods in dev.crafty.core.number that return UnitNumberModifier and TypeMethodDescriptionConverts this UnitNumber to a different unit.static <T extends Enum<T> & UnitEnum<T>>
UnitNumber<T> -
Uses of UnitNumber in dev.crafty.core.task.api
Methods in dev.crafty.core.task.api with parameters of type UnitNumberModifier and TypeMethodDescriptionvoid
Task.schedule
(Runnable action, UnitNumber<TimeUnit> delay, TargetThread targetThread) Schedules a task for execution on a specified target thread after a specified delay.<T> void
Task.schedule
(Callable<T> action, Consumer<T> onSuccess, UnitNumber<TimeUnit> delay, TargetThread targetThread) Schedules a task for execution on a specified target thread after a specified delay and returns the result of the task execution.<T> void
Task.schedule
(Callable<T> action, Consumer<T> onSuccess, Runnable onFailure, UnitNumber<TimeUnit> delay, TargetThread targetThread) Schedules a task for execution on a specified target thread after a specified delay and returns the result of the task execution. -
Uses of UnitNumber in dev.crafty.core.task.providers
Methods in dev.crafty.core.task.providers with parameters of type UnitNumberModifier and TypeMethodDescriptionvoid
TaskProvider.schedule
(Runnable action, @NotNull UnitNumber<TimeUnit> delay, TargetThread targetThread) <T> void
TaskProvider.schedule
(Callable<T> action, Consumer<T> onSuccess, UnitNumber<TimeUnit> delay, TargetThread targetThread) <T> void
TaskProvider.schedule
(Callable<T> action, Consumer<T> onSuccess, Runnable onFailure, UnitNumber<TimeUnit> delay, TargetThread targetThread)