private void calibrateLast ( ) throws JspTagException { /* * the current round is the last one if (a) there are no remaining * elements, or (b) the next one is beyond the 'end'. */ last = ! hasNext ( ) || atEnd ( ) || ( end != - 1 && ( begin + index + step > end ) ) ; }
Sets last appropriately .