public final class Quota extends Object
Constructor and Description |
---|
Quota(double bound,
boolean upper) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptable(double value) |
double |
bound() |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isUpperBound() |
static Quota |
lowerBound(double lowerBound) |
String |
toString() |
static Quota |
upperBound(double upperBound) |