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 ImmutablePair
EMPTY_ARRAY, left, right -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ImmutablePair
emptyArray, getLeft, getRight, left, nullPair, of, of, ofNonNull, right, setValue
-
Constructor Details
-
Split
-
-
Method Details
-
getLabel
-
getDuration
Gets the duration of this split.- Returns:
- The duration of this split..
-
toString
-