if (inverse.hasSubtypes(i)) { for (int j = 0; j < inverse.numberOfSubtypes(i); j++) { if (inverse.subtypeEquals(i, j, klass)) {
if (hasSubtypes(i)) { for (int j = 0; j < numberOfSubtypes(i); j++) { Object value = getSubtypeValue(i, j, o);
/** * returns the number of subtypes for iterating over this secondary array. * If there are no subtypes, this method will return zero. Use * {@link #hasSubtypes(int)} to differentiate the two situations. */ public int numberOfSubtypes(int i) { return hasSubtypes(i) ? subtypes[i].length : 0; }