MCPcopy Create free account
hub / github.com/careercup/ctci / getTagCode

Method getTagCode

java/Chapter 17/Question17_10/QuestionString.java:159–165  ·  view source on GitHub ↗
(String tag)

Source from the content-addressed store, hash-verified

157 }
158
159 private byte getTagCode(String tag) throws IOException {
160 Byte tagCode = tagMap.get(tag);
161 if (tagCode == null) {
162 throw new IOException("Unknown tag: " + tag);
163 }
164 return tagCode;
165 }
166
167 public static void main(String args[]) {
168 try {

Callers 1

encodeTokensMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected