/** * Returns the maximum position for this iterator. * * @return the maximum allowed position */ protected int getMaxPosition() { return reverse ? getStartOffset() + 1 : size() - getStartOffset(); }
/** * Returns the maximum position for this iterator. * * @return the maximum allowed position */ protected int getMaxPosition() { return reverse ? getStartOffset() + 1 : size() - getStartOffset(); }