public class Stopwatch$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Stopwatch$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Stopwatch$() |
Modifier and Type | Method and Description |
---|---|
void |
clearData(Stopwatch stopwatch)
INTERNAL API.
|
scala.collection.immutable.Set<Stopwatch> |
emptyStopwatchSet() |
<T> T |
getData(Stopwatch stopwatch,
T empty)
INTERNAL API.
|
scala.collection.immutable.Set<Stopwatch> |
getStopwatches()
INTERNAL API.
|
<T> void |
setData(Stopwatch stopwatch,
T data)
INTERNAL API.
|
public static final Stopwatch$ MODULE$
public <T> T getData(Stopwatch stopwatch, T empty)
T
- type of stopwatch datastopwatch
- associated stopwatchempty
- default empty stopwatch datapublic <T> void setData(Stopwatch stopwatch, T data)
T
- type of stopwatch datastopwatch
- associated stopwatchdata
- stopwatch datapublic void clearData(Stopwatch stopwatch)
stopwatch
- associated stopwatchpublic scala.collection.immutable.Set<Stopwatch> emptyStopwatchSet()
public scala.collection.immutable.Set<Stopwatch> getStopwatches()
Cinnamon API. Copyright (c) 2015–2021 Lightbend.