Package org.apache.commons.lang3.time
Class StopWatch.Split
java.lang.Object
org.apache.commons.lang3.tuple.Pair<String,Duration>
org.apache.commons.lang3.tuple.ImmutablePair<String,Duration>
org.apache.commons.lang3.time.StopWatch.Split
- All Implemented Interfaces:
Serializable,Comparable<Pair<String,,Duration>> Map.Entry<String,Duration>
- Enclosing class:
StopWatch
Stores a split as a label and duration.
- Since:
- 3.20.0
- See Also:
-
Field Summary
Fields inherited from class org.apache.commons.lang3.tuple.ImmutablePair
EMPTY_ARRAY, left, right -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.lang3.tuple.ImmutablePair
emptyArray, getLeft, getRight, left, nullPair, of, of, ofNonNull, right, setValue
-
Constructor Details
-
Split
Constructs a Split object with label and duration.- Parameters:
label- Label for this split.duration- Duration for this split.
-
-
Method Details