org.neo4j.index.impl.lucene
Class AbstractIndexHits<T>

java.lang.Object
  extended by org.neo4j.helpers.collection.PrefetchingIterator<T>
      extended by org.neo4j.index.impl.lucene.AbstractIndexHits<T>
All Implemented Interfaces:
Iterable<T>, Iterator<T>, IndexHits<T>
Direct Known Subclasses:
HitsIterator

public abstract class AbstractIndexHits<T>
extends PrefetchingIterator<T>
implements IndexHits<T>


Constructor Summary
AbstractIndexHits()
           
 
Method Summary
 void close()
           
 T getSingle()
           
 Iterator<T> iterator()
           
 
Methods inherited from class org.neo4j.helpers.collection.PrefetchingIterator
fetchNextOrNull, getPrefetchedNextOrNull, hasNext, next, remove, setPrefetchedNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.neo4j.graphdb.index.IndexHits
currentScore, size
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Constructor Detail

AbstractIndexHits

public AbstractIndexHits()
Method Detail

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T>

close

public void close()
Specified by:
close in interface IndexHits<T>

getSingle

public T getSingle()
Specified by:
getSingle in interface IndexHits<T>


Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.