@Beta public final class PiCounterId extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
name()
Returns the name of the counter.
|
static PiCounterId |
of(String name,
PiCounterType type)
Returns a counter identifier for the given name and type.
|
String |
toString() |
PiCounterType |
type()
Returns the type of the counter.
|
public static PiCounterId of(String name, PiCounterType type)
name - counter nametype - counter typepublic String name()
public PiCounterType type()