T - The type of elements that are suitable to
numeric operations.public interface INumeric<T>
| Modifier and Type | Method and Description |
|---|---|
T |
MaxValue()
Returns the largest possible value.
|
T |
MinValue()
Returns the smallest possible value.
|
T |
Negate(T arg)
Returns the negative of an element value that
is convertible to T.
|
T |
Next(java.util.Random rnd,
T min,
T max)
Generates a random number using the underlying
random number generator.
|
T |
One()
Returns the number one (1).
|
T |
Zero()
Returns the number zero (0).
|
T Zero()
T One()
T MinValue()
T MaxValue()
T Negate(T arg)
arg - The value of the element to be negated.T Next(java.util.Random rnd, T min, T max)
rnd - The random generator object.min - The lower bound of the random number returned.max - The upper bound of the random number returned.Copyright© 2012 Progeneric Systems, Inc. All Rights Reserved.