MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / equals

Method equals

src/main/java/net/optifine/util/StrUtils.java:315–326  ·  view source on GitHub ↗
(char ch, String matches)

Source from the content-addressed store, hash-verified

313 }
314
315 private static boolean equals(char ch, String matches)
316 {
317 for (int i = 0; i < matches.length(); ++i)
318 {
319 if (matches.charAt(i) == ch)
320 {
321 return true;
322 }
323 }
324
325 return false;
326 }
327
328 public static boolean equalsTrim(String a, String b)
329 {

Callers 3

splitMethod · 0.95
equalsTrimMethod · 0.95
equalsMaskMethod · 0.45

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected