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.java118 return (spineIndex == 0) in capacity()
120 : priorElementCount[spineIndex] + spine[spineIndex].length; in capacity()
140 for (int i=spineIndex+1; targetSize > capacity; i++) { in ensureCapacity()
170 if (spineIndex == 0) { in get()
180 for (int j=0; j <= spineIndex; j++) in get()
197 if (spineIndex == 0) in copyInto()
201 for (int i=0; i < spineIndex; i++) { in copyInto()
237 spineIndex = 0; in clear()
248 for (int j = 0; j < spineIndex; j++) in forEach()
261 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()