private void prepareForAccess( int size ) { int underflow = cursor.getIndex() + size - last(); if ( underflow > 0 ) { expander.expand( cba, underflow ); } }
/** * Get the index that will be used for the next access. */ public final int getIndex() { return cursor.getIndex(); }
/** * @return the index that will be used for the next access. */ public final int getIndex() { return cursor.getIndex(); }
private void prepareForAccess(int size) { int underflow = cursor.getIndex() + size - last(); if (underflow > 0) { expander.expand(cba, underflow); } }
/** * @return the index that will be used for the next access. */ public final int getIndex() { return cursor.getIndex(); }
/** * Flush to the current index. */ public void flush() { flushTo(cursor.getIndex()); }
/** * Flush to the current index. */ public void flush() { flushTo(cursor.getIndex()); }
/** * Flush to the current index. */ public void flush() { flushTo( cursor.getIndex() ); }
private void prepareForAccess(int size) { int underflow = cursor.getIndex() + size - last(); if (underflow > 0) { expander.expand(cba, underflow); } }