List of utility methods to do Long to Boolean
boolean | longToBoolean(final Long b) long To Boolean if (b == null) { return false; return b != 0; |
boolean | longToBoolean(long l) long To Boolean return l != 0 ? true : false;
|
boolean[] | longToBoolean(long[] values) long To Boolean if (values == null) { return null; boolean[] results = new boolean[values.length]; for (int i = 0; i < values.length; i++) { results[i] = (values[i] != 0); return results; ... |