edu.neu.ccs.demeterf.demfgen.classes
Class NENameList

java.lang.Object
  extended by edu.neu.ccs.demeterf.demfgen.classes.NENameList
All Implemented Interfaces:
ConsList

public class NENameList
extends java.lang.Object
implements ConsList

Representation of NENameList


Nested Class Summary
static class NENameList.first
          Field Class for NENameList.first
static class NENameList.rest
          Field Class for NENameList.rest
 
Constructor Summary
NENameList(NameDef first, NameList rest)
          Construct a(n) NENameList Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this NENameList?
 NameDef getFirst()
          Getter for field NENameList.first
 NameList getRest()
          Getter for field NENameList.rest
 int length()
           
static NENameList parse(java.io.InputStream inpt)
          Parse an instance of NENameList from the given Stream
static NENameList parse(java.io.Reader inpt)
          Parse an instance of NENameList from the given Reader
static NENameList parse(java.lang.String inpt)
          Parse an instance of NENameList from the given String
 java.lang.String print()
          DGP method from Class Print
 List<java.lang.String> toList()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NENameList

public NENameList(NameDef first,
                  NameList rest)
Construct a(n) NENameList Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

length

public int length()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toList

public List<java.lang.String> toList()

print

public java.lang.String print()
DGP method from Class Print


getRest

public NameList getRest()
Getter for field NENameList.rest


getFirst

public NameDef getFirst()
Getter for field NENameList.first