Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
updjx
mjtest-tests
Commits
f0f49024
Commit
f0f49024
authored
Oct 19, 2018
by
Johannes Bechberger
Committed by
andreas.fried
Oct 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add BooleanUtils library
parent
1b797470
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
exec/lib/BooleanUtils.java
exec/lib/BooleanUtils.java
+18
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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