Java Utililty Methods Number to Boolean

List of utility methods to do Number to Boolean

Description

The list of methods to do Number to Boolean are organized into topic(s).

Method

booleannumberToBool(byte aNumber)
Converts a number to a boolean, according to the lobby protocol standard.
return (aNumber == 1);
booleanNumberToboolean(final Number value)
Number Toboolean
return value.longValue() != 0;