Searched refs:elementIndex (Results 1 – 2 of 2) sorted by relevance
64 protected int elementIndex; field in AbstractSpinedBuffer101 return (spineIndex == 0) && (elementIndex == 0); in isEmpty()109 ? elementIndex in count()110 : priorElementCount[spineIndex] + elementIndex; in count()
171 if (index < elementIndex) in get()198 System.arraycopy(curChunk, 0, array, offset, elementIndex); in copyInto()205 if (elementIndex > 0) in copyInto()206 System.arraycopy(curChunk, 0, array, offset, elementIndex); in copyInto()233 for (int i=0; i<elementIndex; i++) in clear()236 elementIndex = 0; in clear()253 for (int i=0; i<elementIndex; i++) in forEach()259 if (elementIndex == curChunk.length) { in accept()263 elementIndex = 0; in accept()267 curChunk[elementIndex++] = e; in accept()[all …]