Package com.naver.ads.util
Object BooleanUtils
-
- All Implemented Interfaces:
public class BooleanUtilsMiscellaneous Boolean utility methods.
-
-
Field Summary
Fields Modifier and Type Field Description public final static BooleanUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final static IntegertoZeroOrOneInt(Boolean $self)Converts a Boolean to an Int using the convention that true is 1 and false is 0. final static StringtoZeroOrOneString(Boolean $self)Converts a Boolean to an String using the convention that true is "1" and false is "0". -
-
Method Detail
-
toZeroOrOneInt
final static Integer toZeroOrOneInt(Boolean $self)
-
toZeroOrOneString
final static String toZeroOrOneString(Boolean $self)
-
-
-
-