public class Sample extends java.lang.Object implements java.lang.Comparable<Sample>
Modifier and Type | Field and Description |
---|---|
static int |
SIZE_BYTES |
double |
value |
double |
weight |
Constructor and Description |
---|
Sample(double val,
double weight) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Sample o) |
java.lang.String |
toString() |
public static final int SIZE_BYTES
public final double value
public final double weight