List of utility methods to do Boolean to Long
long | booleanToLong(boolean b) boolean To Long return b ? 1L : 0L;
|
long[] | booleanToLong(boolean[] values) boolean To Long if (values == null) { return null; long[] results = new long[values.length]; for (int i = 0; i < values.length; i++) { results[i] = (values[i] == true ? 1 : 0); return results; ... |
long | booleanTolong(final boolean value) boolean Tolong return value ? 1 : 0;
|