MCPcopy Create free account
hub / github.com/jOOQ/jOOQ / safeIndex

Method safeIndex

jOOQ/src/main/java/org/jooq/impl/FieldsImpl.java:416–421  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

414 }
415
416 final int safeIndex(int index) {
417 if (index >= 0 && index < fields.length)
418 return index;
419
420 throw indexFail(this, index);
421 }
422
423 @Override
424 public final <T> Field<T> field(int fieldIndex, Class<T> type) {

Callers 1

mapperMethod · 0.95

Calls 1

indexFailMethod · 0.80

Tested by

no test coverage detected