Package com.itrsgroup.collection.instr
Class Dimension
java.lang.Object
com.itrsgroup.collection.instr.Dimension
Dimension, or tag, used to identify a monitored entity.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Dimension
Create from the given key (the value is null).- Parameters:
key- key
-
Dimension
Create from the given key and value.- Parameters:
key- keyvalue- value- Throws:
IllegalArgumentException- if the key or value is null or empty
-
-
Method Details
-
of
Create from the given key and value.- Parameters:
key- keyvalue- value- Returns:
- dimension
- Throws:
IllegalArgumentException- if the key is null or empty
-
getKey
- Returns:
- key
-
getValue
- Returns:
- value
-
hashCode
public int hashCode() -
equals
-
toString
-