Package com.redis.lettucemod.timeseries
Class Label<K,V>
- java.lang.Object
-
- com.redis.lettucemod.timeseries.Label<K,V>
-
public class Label<K,V> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Label()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)KgetLabel()VgetValue()inthashCode()static <K,V>
Label<K,V>of(K label, V value)voidsetLabel(K label)voidsetValue(V value)
-
-
-
Method Detail
-
getLabel
public K getLabel()
-
setLabel
public void setLabel(K label)
-
getValue
public V getValue()
-
setValue
public void setValue(V value)
-
of
public static <K,V> Label<K,V> of(K label, V value)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-