OSDN Git Service
(root)
/
train-delayed
/
source.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Mac移行後
[train-delayed/source.git]
/
workspace
/
TrainDelayed
/
src
/
com
/
td
/
utility
/
Util.java
1
package com.td.utility;
\r
2
\r
3
public class Util {
\r
4
public static boolean toBoolean(int n){
\r
5
return (n != 0)? true : false;
\r
6
}
\r
7
\r
8
public static int toInt(boolean b){
\r
9
return (b)? 1 : 0;
\r
10
}
\r
11
}
\r