/** Returns a repetition of a child of the extending class, creating * it if necessary. * @param finiteList the finiteList containing the desired repetitions * @param rep the repetition number with a <b>0 based index</b> * @throws ConfRepException if repetition can not be accessed * @return repetition */ protected Repeatable getChild(FiniteList finiteList, int rep) throws ConfRepException { return finiteList.getRep(rep); }
/** Returns a repetition of a child of the extending class, creating * it if necessary. * @param finiteList the finiteList containing the desired repetitions * @param rep the repetition number with a <b>0 based index</b> * @throws ConfRepException if repetition can not be accessed * @return repetition */ protected Repeatable getChild(FiniteList finiteList, int rep) throws ConfRepException { return finiteList.getRep(rep); }