edu.neu.ccs.demeterf.lexer.classes
Class GrpChar

java.lang.Object
  extended by edu.neu.ccs.demeterf.lexer.classes.GrpPart
      extended by edu.neu.ccs.demeterf.lexer.classes.GrpChar

public class GrpChar
extends GrpPart

Representation of GrpChar


Nested Class Summary
static class GrpChar.ch
          Field Class for GrpChar.ch
 
Constructor Summary
GrpChar(char ch)
          Construct a(n) GrpChar Instance
 
Method Summary
 boolean contains(char c)
           
 boolean equals(java.lang.Object o)
          Is the given object Equal to this GrpChar?
 char getCh()
          Getter for field GrpChar.ch
static GrpChar parse(java.io.InputStream inpt)
          Parse an instance of GrpChar from the given Stream
static GrpChar parse(java.io.Reader inpt)
          Parse an instance of GrpChar from the given Reader
static GrpChar parse(java.lang.String inpt)
          Parse an instance of GrpChar from the given String
 java.lang.String toString()
          DGP method from Class PrintToString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GrpChar

public GrpChar(char ch)
Construct a(n) GrpChar Instance

Method Detail

equals

public boolean equals(java.lang.Object o)
Is the given object Equal to this GrpChar?

Overrides:
equals in class java.lang.Object

parse

public static GrpChar parse(java.lang.String inpt)
                     throws ParseException
Parse an instance of GrpChar from the given String

Throws:
ParseException

parse

public static GrpChar parse(java.io.InputStream inpt)
                     throws ParseException
Parse an instance of GrpChar from the given Stream

Throws:
ParseException

parse

public static GrpChar parse(java.io.Reader inpt)
                     throws ParseException
Parse an instance of GrpChar from the given Reader

Throws:
ParseException

contains

public boolean contains(char c)
Specified by:
contains in class GrpPart

toString

public java.lang.String toString()
DGP method from Class PrintToString

Overrides:
toString in class GrpPart

getCh

public char getCh()
Getter for field GrpChar.ch