MCPcopy Index your code
hub / github.com/cinit/QAuxiliary / getFieldId

Method getFieldId

app/src/main/java/cc/ioctl/util/data/Table.java:377–384  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

375 }
376
377 public int getFieldId(String name) {
378 for (int i = 0; i < fields.length; i++) {
379 if (name.equals(fields[i])) {
380 return i;
381 }
382 }
383 return -1;
384 }
385
386 public boolean hasRecord(K key) {
387 return records.containsKey(key);

Callers 5

getMethod · 0.95
setMethod · 0.95
addFieldMethod · 0.95
loadFriendsDataMethod · 0.80
loadEventsDataMethod · 0.80

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected