Home
last modified time | relevance | path

Searched refs:spineIndex (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DSpinedBuffer.java115 return (spineIndex == 0) in capacity()
117 : priorElementCount[spineIndex] + spine[spineIndex].length; in capacity()
137 for (int i=spineIndex+1; targetSize > capacity; i++) { in ensureCapacity()
167 if (spineIndex == 0) { in get()
177 for (int j=0; j <= spineIndex; j++) in get()
194 if (spineIndex == 0) in copyInto()
198 for (int i=0; i < spineIndex; i++) { in copyInto()
234 spineIndex = 0; in clear()
245 for (int j = 0; j < spineIndex; j++) in forEach()
258 if (spineIndex+1 >= spine.length || spine[spineIndex+1] == null) in accept()
[all …]
DAbstractSpinedBuffer.java70 protected int spineIndex; field in AbstractSpinedBuffer
101 return (spineIndex == 0) && (elementIndex == 0); in isEmpty()
108 return (spineIndex == 0) in count()
110 : priorElementCount[spineIndex] + elementIndex; in count()