MCPcopy Create free account
hub / github.com/demoth/jake2 / tokenEquals

Method tokenEquals

client/src/main/java/jake2/client/LayoutParser.java:123–127  ·  view source on GitHub ↗
(String other)

Source from the content-addressed store, hash-verified

121 }
122
123 public boolean tokenEquals(String other) {
124 if (tokenLength != other.length())
125 return false;
126 return data.regionMatches(tokenPos, other, 0, tokenLength);
127 }
128
129 public int tokenAsInt() {
130 if (tokenLength == 0)

Callers 1

ExecuteLayoutStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected