MCPcopy Create free account
hub / github.com/Z3Prover/z3 / get

Method get

src/api/java/Statistics.java:177–187  ·  view source on GitHub ↗

The value of a particular statistical counter. Remarks: Returns null if the key is unknown. @throws Z3Exception

(String key)

Source from the content-addressed store, hash-verified

175 * @throws Z3Exception
176 **/
177 public Entry get(String key)
178 {
179 int n = size();
180 Entry[] es = getEntries();
181 for (int i = 0; i < n; i++) {
182 if (es[i].Key.equals(key)) {
183 return es[i];
184 }
185 }
186 return null;
187 }
188
189 Statistics(Context ctx, long obj)
190 {

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.95
getEntriesMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected