public class MinMaxBounds
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Float |
max |
private java.lang.Float |
min |
static MinMaxBounds |
UNBOUNDED |
Constructor and Description |
---|
MinMaxBounds(java.lang.Float min,
java.lang.Float max) |
Modifier and Type | Method and Description |
---|---|
static MinMaxBounds |
deserialize(com.google.gson.JsonElement element) |
boolean |
test(float value) |
boolean |
testSquare(double value) |
public static final MinMaxBounds UNBOUNDED
private final java.lang.Float min
private final java.lang.Float max
public MinMaxBounds(@Nullable java.lang.Float min, @Nullable java.lang.Float max)
public boolean test(float value)
public boolean testSquare(double value)
public static MinMaxBounds deserialize(@Nullable com.google.gson.JsonElement element)