/** * Returns the component at the given location, creating it * and all preceeding components if necessary. * * @param comp the extra component number starting at 0 (i.e. 0 is the first * extra component) * @return component at the given index */ public Variable getComponent(int comp) { ensureComponentAndPredecessorsExist(comp); return this.comps.get(comp); }
/** * Returns the component at the given location, creating it * and all preceeding components if necessary. * * @param comp the extra component number starting at 0 (i.e. 0 is the first * extra component) * @return component at the given index */ public Variable getComponent(int comp) { ensureComponentAndPredecessorsExist(comp); return this.comps.get(comp); }