Class NOMLazyEQC

  extended by
All Implemented Interfaces:

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


public NOMLazyEQC(NOMCorpus nom)
Method Detail


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