You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
328 B
19 lines
328 B
package kr.co.kihyun.util; |
|
|
|
public class MUtil { |
|
public static boolean isTrue(int num) { |
|
if (num == 1) { |
|
return true; |
|
} else { |
|
return false; |
|
} |
|
} |
|
|
|
public static String getString(String word, String baseWord) { |
|
if (word != null && word.trim().equals("")) { |
|
return baseWord; |
|
} else { |
|
return word; |
|
} |
|
} |
|
}
|
|
|