long (final int id, final int fieldOffset) { checkIdIsValid(id); final long absoluteFileOffset = id * (long)RECORD_SIZE + fieldOffset; assert absoluteFileOffset >= 0 : "offset(" + id + ", " + fieldOffset + ") = " + absoluteFileOffset + " must be >=0"; return absoluteFileOffset; }