edu.mit.jwi
Class RAMDictionary.HotSwappableSynsetIterator

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

protected class RAMDictionary.HotSwappableSynsetIterator
extends RAMDictionary.HotSwappableIterator<ISynset>

A hot swappable iterator for synsets.

Since:
JWI 2.2.0
Author:
Mark A. Finlayson

Constructor Summary
RAMDictionary.HotSwappableSynsetIterator(POS pos)
          Constructs a new hot swappable iterator for synsets.
 
Method Summary
protected  java.util.Iterator<ISynset> 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.HotSwappableSynsetIterator

public RAMDictionary.HotSwappableSynsetIterator(POS pos)
Constructs a new hot swappable iterator for synsets.

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

makeIterator

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

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


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