Builder to construct an Indexable
for a stopwatch.
Constant Summary
Public Method Summary
StopwatchBuilder |
setElapsedTime(long elapsedTimeInMilliseconds)
Sets the total time accumulated when the stopwatch was last paused, in
milliseconds.
|
StopwatchBuilder | |
StopwatchBuilder | |
StopwatchBuilder |
Inherited Method Summary
final Indexable |
build()
Finalize building the object.
|
T | |
<S extends IndexableBuilder<?>> T | |
T |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
T | |
T | |
T | |
final T | |
T | |
final T | |
final <S extends IndexableBuilder<?>> T |
setIsPartOf(S... collections)
Sets the sub-group or collection that this Indexable is part of.
|
final T | |
T | |
final T | |
final T | |
final T |
Constants
public static final String PAUSED
Constant Value: "Paused"
public static final String STARTED
Constant Value: "Started"
public static final String UNKNOWN
Constant Value: "Unknown"
Public Methods
public StopwatchBuilder setElapsedTime (long elapsedTimeInMilliseconds)
Sets the total time accumulated when the stopwatch was last paused, in milliseconds.
public StopwatchBuilder setLaps (StopwatchLapBuilder... laps)
Sets the current laps, if any, associated with this stopwatch.
public StopwatchBuilder setStartTime (Calendar startTime)
Sets the time when the stopwatch last began running.