Lines Matching defs:currentIndex
749 // invariant: beginIndex <= currentIndex <= endIndex
750 private int currentIndex;
752 // information about the run that includes currentIndex
766 this.currentIndex = beginIndex;
787 if (currentIndex != that.currentIndex || beginIndex != that.beginIndex || endIndex != that.endIndex)
793 return text.hashCode() ^ currentIndex ^ beginIndex ^ endIndex;
821 if (currentIndex == endIndex) {
824 return charAt(currentIndex);
829 if (currentIndex < endIndex) {
830 return internalSetIndex(currentIndex + 1);
838 if (currentIndex > beginIndex) {
839 return internalSetIndex(currentIndex - 1);
861 return currentIndex;
1002 currentIndex = position;
1006 if (currentIndex == endIndex) {
1015 if (currentIndex == endIndex) {
1021 while (runIndex < runCount - 1 && runStarts[runIndex + 1] <= currentIndex)