Class NumericRange
java.lang.Object
studio.mevera.imperat.command.arguments.NumericRange
-
Method Summary
Modifier and TypeMethodDescriptionstatic NumericRangeempty()doublegetMax()doublegetMin()booleanhasMax()booleanhasMin()booleanisEmpty()booleanmatches(double value) static NumericRangemax(double max) static NumericRangemin(double min) static NumericRangeof(double min, double max)
-
Method Details
-
of
-
min
-
max
-
empty
-
isEmpty
public boolean isEmpty() -
matches
public boolean matches(double value) -
getMin
public double getMin() -
getMax
public double getMax() -
hasMax
public boolean hasMax() -
hasMin
public boolean hasMin()
-