You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
317 B
20 lines
317 B
package mightypork.utils.math.constraints;
|
|
|
|
|
|
/**
|
|
* Numeric constraint
|
|
*
|
|
* @author MightyPork
|
|
*/
|
|
public interface NumberBound {
|
|
|
|
public static final NumberBound ZERO = new NumberConst(0);
|
|
public static final NumberBound ONE = new NumberConst(1);
|
|
|
|
|
|
/**
|
|
* @return current value
|
|
*/
|
|
double getValue();
|
|
|
|
}
|
|
|