max<T extends num> static method
T
max<T extends num>(
- T a,
- T b
Return highest of two values
Implementation
static T max<T extends num>(T a, T b)
{
if (a > b) {
return a;
}
else {
return b;
}
}