public abstract class SampleValue<T extends Number> extends Number implements Comparable<Number>
| Modifier and Type | Field and Description | 
|---|---|
static byte | 
ABSOLUTE  | 
static byte | 
COUNTER  | 
static byte | 
DERIVE  | 
static byte | 
GAUGE  | 
| Constructor and Description | 
|---|
SampleValue()  | 
SampleValue(T value)  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract SampleValue<?> | 
add(Number other)  | 
abstract BigInteger | 
bigIntegerValue()  | 
static SampleValue<?> | 
compose(ByteBuffer data)  | 
static ByteBuffer | 
decompose(SampleValue<?> value)  | 
abstract SampleValue<?> | 
delta(Number other)  | 
abstract SampleValue<?> | 
divide(Number object)  | 
boolean | 
equals(Object obj)  | 
static SampleValue<?> | 
fromHex(String value)  | 
abstract MetricType | 
getType()  | 
protected T | 
getValue()  | 
boolean | 
greaterThan(Number other)  | 
int | 
hashCode()  | 
boolean | 
isNaN()  | 
boolean | 
lessThan(Number other)  | 
abstract SampleValue<?> | 
multiply(Number other)  | 
abstract SampleValue<?> | 
subtract(Number other)  | 
static String | 
toHex(SampleValue<?> value)  | 
String | 
toString()  | 
byteValue, doubleValue, floatValue, intValue, longValue, shortValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTopublic static final byte COUNTER
public static final byte DERIVE
public static final byte ABSOLUTE
public static final byte GAUGE
public SampleValue()
public SampleValue(T value)
protected T getValue()
public abstract BigInteger bigIntegerValue()
public static SampleValue<?> compose(ByteBuffer data)
public static ByteBuffer decompose(SampleValue<?> value)
public static String toHex(SampleValue<?> value)
public static SampleValue<?> fromHex(String value)
public boolean isNaN()
public boolean lessThan(Number other)
public boolean greaterThan(Number other)
public abstract SampleValue<?> delta(Number other)
public abstract SampleValue<?> subtract(Number other)
public abstract SampleValue<?> add(Number other)
public abstract SampleValue<?> multiply(Number other)
public abstract SampleValue<?> divide(Number object)
public abstract MetricType getType()
Copyright © 2016. All rights reserved.