| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.util.MathUtil |
Set of common operations on Number that are not in Math.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| MathUtil() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static boolean |
betweenExclusive(long value, long min, long max)
Check that a value is between two bounds (exclusive)
| ||||||||||
| static boolean |
betweenInclusive(long value, long min, long max)
Check that a value is between two bounds (inclusive)
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Check that a value is between two bounds (exclusive)
| value | value |
|---|---|
| min | min bound |
| max | max bound |
Check that a value is between two bounds (inclusive)
| value | value |
|---|---|
| min | min bound |
| max | max bound |