Commit f0f49024 authored by Johannes Bechberger's avatar Johannes Bechberger Committed by andreas.fried

Add BooleanUtils library

parent 1b797470
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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment