edu.mit.jwi
Class RAMDictionary.HotSwappableSenseEntryIterator

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

protected class RAMDictionary.HotSwappableSenseEntryIterator
extends RAMDictionary.HotSwappableIterator<ISenseEntry>

A hot swappable iterator that iterates over sense entries.

Since:
JWI 2.2.0
Author:
Mark A. Finlayson

Constructor Summary
RAMDictionary.HotSwappableSenseEntryIterator()
          Constructs a new hot swappable iterator that iterates over sense entries.
 
Method Summary
protected  java.util.Iterator<ISenseEntry> 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.HotSwappableSenseEntryIterator

public RAMDictionary.HotSwappableSenseEntryIterator()
Constructs a new hot swappable iterator that iterates over sense entries.

Throws:
java.lang.NullPointerException - if the specified part of speech is null
Since:
JWI 2.2.0
Method Detail

makeIterator

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

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


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