org.compass.core.impl
Class AbstractCompassHits
java.lang.Object
org.compass.core.impl.AbstractCompassHits
- All Implemented Interfaces:
- Serializable, Iterable<CompassHit>, CompassHitsOperations
- Direct Known Subclasses:
- DefaultCompassDetachedHits, DefaultCompassHits
public abstract class AbstractCompassHits
- extends Object
- implements CompassHitsOperations
- Author:
- kimchy
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCompassHits
public AbstractCompassHits()
length
public int length()
- Description copied from interface:
CompassHitsOperations
- Returns the number of hits,
- Specified by:
length in interface CompassHitsOperations
- Returns:
- The number of hits.
iterator
public Iterator<CompassHit> iterator()
throws CompassException
- Specified by:
iterator in interface Iterable<CompassHit>
- Throws:
CompassException
Copyright (c) 2004-2008 The Compass Project.