diff --git a/exec/lib/BooleanUtils.java b/exec/lib/BooleanUtils.java new file mode 100644 index 0000000000000000000000000000000000000000..6894467ed794e6f899acd8ee6262072b32f72ac9 --- /dev/null +++ b/exec/lib/BooleanUtils.java @@ -0,0 +1,18 @@ +package lib; + +public class BooleanUtils { + + public int toInt(boolean value){ + if (value){ + return 1; + } else { + return 0; + } + } + + public BooleanUtils println(boolean value){ + System.out.println(toInt(value)); + return this; + } +} +