org.compass.core
Interface CompassHitIterator

All Superinterfaces:
Iterator
All Known Implementing Classes:
DefaultCompassHitIterator

public interface CompassHitIterator
extends Iterator

An iterator over CompassDetachedHits that provides lazy fetching of each resource. CompassDetachedHits.iterator() returns an instance of this class. Calls to Iterator.next() or nextHit() returns a CompassHit instance.

Author:
kimchy

Method Summary
 CompassHit nextHit()
          Returns a CompassHit instance representing the next hit in CompassHits.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

nextHit

CompassHit nextHit()
Returns a CompassHit instance representing the next hit in CompassHits.

Returns:
Next CompassHit.


Copyright (c) 2004-2006 The Compass Project.