Package com.complexible.common.base
Class Progress.Default
java.lang.Object
com.complexible.common.base.Progress.Default
- All Implemented Interfaces:
Progress
- Enclosing interface:
Progress
Immutable default implementation of a progress
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.complexible.common.base.Progress
Progress.Default -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.complexible.common.base.Progress
hasProgress
-
Constructor Details
-
Default
public Default(long mp, long c) -
Default
-
-
Method Details
-
maxProgress
public long maxProgress()Description copied from interface:ProgressReturns the maximum progress value for this monitor- Specified by:
maxProgressin interfaceProgress
-
current
public long current()Description copied from interface:ProgressReturns the current progress value -
stage
Description copied from interface:ProgressReturns the current stage of the process, or null if none.
-