public IntIterator positions() { return IntIterators.wrap( position ); }
public IntIterator positions() throws IOException { if ( ASSERTS ) ensureCurrentDocument(); if ( positionsUnread ) updatePositionCache(); return IntIterators.wrap( positionCache, 0, count ); }
public IntIterator positions() throws IOException { if ( ASSERTS ) ensureCurrentDocument(); if ( state <= BEFORE_POSITIONS ) updatePositionCache(); return IntIterators.wrap( positionCache, 0, count ); } public int[] positionArray() throws IOException {
public IntIterator positions() { ensurePositions(); return IntIterators.wrap( position ); }
public IntIterator positions() throws IOException { return IntIterators.wrap( positionArray(), 0, count ); }
public IntIterator positions() throws IOException { return IntIterators.wrap( positionArray(), 0, count ); }
public IntIterator positions() throws IOException { if ( ASSERTS ) ensureCurrentDocument(); if ( positionsUnread ) updatePositionCache(); return IntIterators.wrap( positionCache, 0, count ); }
public IntIterator positions() throws IOException { if ( ASSERTS ) ensureCurrentDocument(); if ( state <= BEFORE_POSITIONS ) updatePositionCache(); return IntIterators.wrap( positionCache, 0, count ); } public int[] positionArray() throws IOException {
EliasFanoLongBigList ef = new EliasFanoLongBigList( LongIterators.wrap( IntIterators.wrap( values ) ) ); long[] readValues = new long[ n ]; for( int run = 0; run <= runs; ++run ) {