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

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

public class NETypeUseList
extends java.lang.Object
implements ConsList

Representation of NETypeUseList


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

Constructor Detail

NETypeUseList

public NETypeUseList(TypeUse first,
                     TypeUseList rest)
Construct a(n) NETypeUseList Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

public static NETypeUseList parse(java.io.Reader inpt)
                           throws ParseException
Parse an instance of NETypeUseList 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()

toTUList

public List<TypeUse> toTUList()

print

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


getRest

public TypeUseList getRest()
Getter for field NETypeUseList.rest


getFirst

public TypeUse getFirst()
Getter for field NETypeUseList.first