Package com.ocient.metrics
Class Metric.NamedTag
java.lang.Object
com.ocient.metrics.Metric.NamedTag
A Tag with a String or Integer identifier
NOTE: Below is a poor man's std::variant / Either implementation
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()id()static Metric.NamedTagof(Metric.Tag type, int id) static Metric.NamedTagof(Metric.Tag type, String id) tag()toString()