net.sourceforge.nite.search
Class NOMLazyEQC

java.lang.Object
  extended by net.sourceforge.nite.search.NOMLazyEQC
All Implemented Interfaces:
ElementQuantityCalculator

public class NOMLazyEQC
extends java.lang.Object
implements ElementQuantityCalculator

This implementation of ElementQuantityCalculator returns the number of elements of any given name in the NOM at the moment, allowing elements to be loaded into the corpus as a result of the call if lazy loading is on.


Constructor Summary
NOMLazyEQC(NOMCorpus nom)
           
 
Method Summary
 int getNumber(java.lang.String elname)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NOMLazyEQC

public NOMLazyEQC(NOMCorpus nom)
Method Detail

getNumber

public int getNumber(java.lang.String elname)
Specified by:
getNumber in interface ElementQuantityCalculator