net.sf.parser4j.kernelgenerator.entity.state
Class ElementForTerminalRange<E>

java.lang.Object
  extended by net.sf.parser4j.kernelgenerator.entity.state.ElementForTerminalRange<E>
Type Parameters:
E - element type
Direct Known Subclasses:
LexStateByTerminalRange, RecognitionPointForTerminalRange

public class ElementForTerminalRange<E>
extends java.lang.Object

set of element for a TerminalCharRange

Author:
luc peuvrier

Constructor Summary
ElementForTerminalRange(TerminalCharRange terminalCharRange)
           
ElementForTerminalRange(TerminalCharRange terminalCharRange, java.util.Set<E> setOfElement)
           
 
Method Summary
 void addElement(E element)
           
 int getFirstTerminalValue()
           
 int getLastTerminalValue()
           
 java.util.Set<E> getSetOfElement()
           
 TerminalCharRange getTerminalCharRange()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementForTerminalRange

public ElementForTerminalRange(TerminalCharRange terminalCharRange)

ElementForTerminalRange

public ElementForTerminalRange(TerminalCharRange terminalCharRange,
                               java.util.Set<E> setOfElement)
Method Detail

addElement

public void addElement(E element)

getFirstTerminalValue

public int getFirstTerminalValue()

getLastTerminalValue

public int getLastTerminalValue()

getSetOfElement

public java.util.Set<E> getSetOfElement()

getTerminalCharRange

public TerminalCharRange getTerminalCharRange()


Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.