org.basex.index.query
Class EntryIterator

java.lang.Object
  extended by org.basex.index.query.EntryIterator

public abstract class EntryIterator
extends java.lang.Object

This interface provides methods for returning index entries.

Author:
BaseX Team 2005-12, BSD License, Christian Gruen

Constructor Summary
EntryIterator()
           
 
Method Summary
abstract  int count()
          Returns the number of occurrences of the current token.
abstract  byte[] next()
          Returns the next index entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryIterator

public EntryIterator()
Method Detail

next

public abstract byte[] next()
Returns the next index entry.

Returns:
entry

count

public abstract int count()
Returns the number of occurrences of the current token.

Returns:
counter