Searched refs:currentIndex (Results 1 – 2 of 2) sorted by relevance
44 private int currentIndex = -1; in iterator()47 return size > 0 && currentIndex < size; in iterator()54 currentIndex++; in iterator()55 return (E) elements[currentIndex]; in iterator()59 if (-1 == currentIndex) { in iterator()62 for (int i = currentIndex; i < size - 1; i++) { in iterator()
750 private int currentIndex; field in AttributedString.AttributedStringIterator766 this.currentIndex = beginIndex; in AttributedStringIterator()785 …if (currentIndex != that.currentIndex || beginIndex != that.beginIndex || endIndex != that.endInde… in equals()791 return text.hashCode() ^ currentIndex ^ beginIndex ^ endIndex; in hashCode()819 if (currentIndex == endIndex) { in current()822 return charAt(currentIndex); in current()827 if (currentIndex < endIndex) { in next()828 return internalSetIndex(currentIndex + 1); in next()836 if (currentIndex > beginIndex) { in previous()837 return internalSetIndex(currentIndex - 1); in previous()[all …]