com.sun.labs.minion.indexer.partition
Class FieldIterator.HE

java.lang.Object
  extended by com.sun.labs.minion.indexer.partition.FieldIterator.HE
All Implemented Interfaces:
java.lang.Comparable<FieldIterator.HE>
Enclosing class:
FieldIterator

protected class FieldIterator.HE
extends java.lang.Object
implements java.lang.Comparable<FieldIterator.HE>

An element to put on the heap.


Field Summary
protected  int freq
          The number of times the value occurs
protected  boolean ignoreCase
           
protected  java.util.Iterator iter
          An iterator for the field values.
protected  java.lang.Object value
          The next value from the iterator.
 
Constructor Summary
protected FieldIterator.HE(InvFileDiskPartition p, java.lang.String field, boolean ignoreCase)
           
 
Method Summary
 int compareTo(FieldIterator.HE o)
           
protected  int getFreq()
           
protected  boolean next()
          Advances to the next entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iter

protected java.util.Iterator iter
An iterator for the field values.


value

protected java.lang.Object value
The next value from the iterator.


freq

protected int freq
The number of times the value occurs


ignoreCase

protected boolean ignoreCase
Constructor Detail

FieldIterator.HE

protected FieldIterator.HE(InvFileDiskPartition p,
                           java.lang.String field,
                           boolean ignoreCase)
Method Detail

next

protected boolean next()
Advances to the next entry.

Returns:
true if there is a next entry.

getFreq

protected int getFreq()

compareTo

public int compareTo(FieldIterator.HE o)
Specified by:
compareTo in interface java.lang.Comparable<FieldIterator.HE>