Class ImmutableTag
- java.lang.Object
-
- org.opennms.integration.api.v1.timeseries.immutables.ImmutableTag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<org.opennms.integration.api.v1.timeseries.Tag>,org.opennms.integration.api.v1.timeseries.Tag
public class ImmutableTag extends java.lang.Object implements org.opennms.integration.api.v1.timeseries.Tag, java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImmutableTag(java.lang.String value)ImmutableTag(java.lang.String key, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(org.opennms.integration.api.v1.timeseries.Tag other)booleanequals(java.lang.Object o)java.lang.StringgetKey()java.lang.StringgetValue()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getKey
public java.lang.String getKey()
- Specified by:
getKeyin interfaceorg.opennms.integration.api.v1.timeseries.Tag
-
getValue
public java.lang.String getValue()
- Specified by:
getValuein interfaceorg.opennms.integration.api.v1.timeseries.Tag
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(org.opennms.integration.api.v1.timeseries.Tag other)
- Specified by:
compareToin interfacejava.lang.Comparable<org.opennms.integration.api.v1.timeseries.Tag>- Specified by:
compareToin interfaceorg.opennms.integration.api.v1.timeseries.Tag
-
-