(String s)
| 190 | } |
| 191 | |
| 192 | public static boolean isUnsignedInteger(String s) { |
| 193 | if (s.isEmpty()) return false; |
| 194 | for (int i = 0; i < s.length(); i++) { |
| 195 | if (!Character.isDigit(s.charAt(i))) |
| 196 | return false; |
| 197 | } |
| 198 | return true; |
| 199 | } |
| 200 | |
| 201 | public static String realTrim(String src) { |
| 202 | return src.trim().replaceAll("\\s+", ""); |
no outgoing calls
no test coverage detected