edu.mit.jwi
Class RAMDictionary.HotSwappableIndexWordIterator

java.lang.Object
  extended by edu.mit.jwi.RAMDictionary.HotSwappableIterator<IIndexWord>
      extended by edu.mit.jwi.RAMDictionary.HotSwappableIndexWordIterator
All Implemented Interfaces:
java.util.Iterator<IIndexWord>
Enclosing class:
RAMDictionary

protected class RAMDictionary.HotSwappableIndexWordIterator
extends RAMDictionary.HotSwappableIterator<IIndexWord>

A hot swappable iterator for index words.

Since:
JWI 2.2.0
Author:
Mark A. Finlayson

Constructor Summary
RAMDictionary.HotSwappableIndexWordIterator(POS pos)
          Constructs a new hot swappable iterator for index words.
 
Method Summary
protected  java.util.Iterator<IIndexWord> makeIterator()
          Constructs the iterator that will iterate over the loaded data.
 
Methods inherited from class edu.mit.jwi.RAMDictionary.HotSwappableIterator
checkForLoad, hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RAMDictionary.HotSwappableIndexWordIterator

public RAMDictionary.HotSwappableIndexWordIterator(POS pos)
Constructs a new hot swappable iterator for index words.

Parameters:
pos - the part of speech for the iterator
Since:
JWI 2.2.0
Method Detail

makeIterator

protected java.util.Iterator<IIndexWord> makeIterator()
Description copied from class: RAMDictionary.HotSwappableIterator
Constructs the iterator that will iterate over the loaded data.

Specified by:
makeIterator in class RAMDictionary.HotSwappableIterator<IIndexWord>
Returns:
the new iterator to be swapped in when loading is done


Copyright © 2007-2013 Massachusetts Institute of Technology. All Rights Reserved.