Android Utililty Methods Boolean to Int Convert

List of utility methods to do Boolean to Int Convert

Description

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

Method

intboolToInt(boolean b)
bool To Int
return b ? 1 : 0;
longboolToLong(boolean b)
bool To Long
return b ? 1 : 0;