MCPcopy Create free account
hub / github.com/Aghajari/MathParser / isUnsignedInteger

Method isUnsignedInteger

MathParser/src/com/aghajari/math/Utils.java:192–199  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

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+", "");

Callers 2

compareNamesMethod · 0.95
compareNamesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected