@Override public boolean next() { while ( hits.hasNext() ) { if ( client.acceptEntity( hits.next(), hits.currentScore() ) ) { return true; } } return false; }
private static void explicitIndex( IndexProgressor.ExplicitClient client, ExplicitIndexHits hits ) { client.initialize( new ExplicitIndexProgressor( hits, client ), hits.size() ); }
private static void explicitIndex( IndexProgressor.ExplicitClient client, ExplicitIndexHits hits ) { client.initialize( new ExplicitIndexProgressor( hits, client ), hits.size() ); }
@Override public boolean next() { while ( hits.hasNext() ) { if ( client.acceptEntity( hits.next(), hits.currentScore() ) ) { return true; } } return false; }