enumeration.simple
Class SEnumerator

java.lang.Object
  extended by enumeration.MyEnumerator
      extended by enumeration.simple.SEnumerator

public class SEnumerator
extends MyEnumerator

Enumerator, using boolean as the type of volume data to denote the emptiness of volume data.

Author:
XZW

Field Summary
 
Fields inherited from class enumeration.MyEnumerator
resultType
 
Constructor Summary
SEnumerator(MyGrammar grammar)
          Creates an instance of enumerator.
 
Method Summary
 void setGrammar(MyGrammar grammar)
          Sets the grammar
 
Methods inherited from class enumeration.MyEnumerator
firstHierarchy, getCurrentTree, getGrammar, getParseTree, getSentence, getStartIndex, lastHierarchy, next, next, previous, previous, setSentence, setStartIndex, start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SEnumerator

public SEnumerator(MyGrammar grammar)
Creates an instance of enumerator.

Parameters:
grammar - the grammar for enumeration
Method Detail

setGrammar

public void setGrammar(MyGrammar grammar)
Description copied from class: MyEnumerator
Sets the grammar

Specified by:
setGrammar in class MyEnumerator
Parameters:
grammar - the grammar to set