Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
uydwl
mjtest-tests
Commits
f0f49024
Commit
f0f49024
authored
Oct 19, 2018
by
Johannes Bechberger
Committed by
andreas.fried
Oct 19, 2018
Browse files
Add BooleanUtils library
parent
1b797470
Changes
1
Hide whitespace changes
Inline
Side-by-side
exec/lib/BooleanUtils.java
0 → 100644
View file @
f0f49024
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
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment