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

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

public class NESubtypeList
extends java.lang.Object
implements PESubtypeList, ConsList

Representation of NESubtypeList


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

Constructor Detail

NESubtypeList

public NESubtypeList(TypeUse first,
                     SubtypeList rest)
Construct a(n) NESubtypeList Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface PESubtypeList

print

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


getRest

public SubtypeList getRest()
Getter for field NESubtypeList.rest


getFirst

public TypeUse getFirst()
Getter for field NESubtypeList.first