Check whether string s is NOT empty.
(String s)
| 197 | |
| 198 | /** Check whether string s is NOT empty. */ |
| 199 | public static boolean isNotEmpty(String s) { |
| 200 | return ((s != null) && (s.length() > 0)); |
| 201 | } |
| 202 | |
| 203 | /** Check whether collection c is NOT empty. */ |
| 204 | public static boolean isNotEmpty(Collection c) { |
no test coverage detected