List of utility methods to do String Equal
boolean | equals(final String target1, final String target2) equals return (target1 == null) ? (target2 == null) : target1
.equals(target2);
|
boolean | equalsIgnoreCase(final String target1, final String target2) equals Ignore Case return (target1 == null) ? (target2 == null) : target1
.equalsIgnoreCase(target2);
|
int | findOf(String str, String chars, int startIdx, int endIdx, int offset, boolean isEqual) find Of if (offset == 0) return -1; int charCnt = chars.length(); int idx = startIdx; while (true) { if (0 < offset) { if (endIdx < idx) break; ... |
boolean | StringEquals(String s1, String s2) String Equals if (s1 == s2) return true; if (s1 == null || s2 == null) return false; return s1.equals(s2); |