Interface Tag

All Superinterfaces:
java.lang.Comparable<Tag>
All Known Implementing Classes:
ImmutableTag

public interface Tag
extends java.lang.Comparable<Tag>
Key/value pair representing a dimension of a meter used to classify and drill into measurements.
  • Method Summary

    Modifier and Type Method Description
    default int compareTo​(Tag o)  
    java.lang.String getKey()  
    java.lang.String getValue()  
    static Tag of​(java.lang.String key, java.lang.String value)  
  • Method Details

    • getKey

      java.lang.String getKey()
    • getValue

      java.lang.String getValue()
    • of

      static Tag of​(java.lang.String key, java.lang.String value)
    • compareTo

      default int compareTo​(Tag o)
      Specified by:
      compareTo in interface java.lang.Comparable<Tag>