public class RangeSample<S extends Sample> extends java.lang.Object implements Sample
Constructor and Description |
---|
RangeSample(S min,
S max) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
S |
getMax() |
double |
getMaxValue() |
S |
getMin() |
double |
getMinValue() |
Sample |
glb(Sample s)
There's a question here as to what the order on Ranges should
be; logically the lub is the union of the ranges and the glb
is the intersection, but that's not likely to be very useful
in practice.
|
int |
hashCode() |
boolean |
isLogicX()
returns true iff this sample is "X" (unknown)
|
boolean |
isLogicZ()
returns true iff this sample is "Z" (unconnected)
|
Sample |
lub(Sample s)
There's a question here as to what the order on Ranges should
be; logically the lub is the union of the ranges and the glb
is the intersection, but that's not likely to be very useful
in practice.
|
public S getMin()
public S getMax()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isLogicX()
Sample
public boolean isLogicZ()
Sample
public Sample lub(Sample s)
public Sample glb(Sample s)
public double getMinValue()
getMinValue
in interface Sample
public double getMaxValue()
getMaxValue
in interface Sample