ESC/Java2
© 2003,2004,2005 David Cok and Joseph Kiniry
© 2005 UCD Dublin
© 2003,2004 Radboud University Nijmegen
© 1999,2000 Compaq Computer Corporation
© 1997,1998,1999 Digital Equipment Corporation
All Rights Reserved

javafe.ast
Class TypeNameVec

java.lang.Object
  extended byjavafe.ast.TypeNameVec

public class TypeNameVec
extends java.lang.Object


Field Summary
private  int count
           
private  TypeName[] elements
          * Instance fields: * *
 
Constructor Summary
private TypeNameVec(int cnt)
           
private TypeNameVec(TypeName[] els)
          * Private constructors: * *
 
Method Summary
 void addElement(TypeName x)
           
 void append(TypeNameVec vec)
           
 boolean contains(TypeName x)
           
 TypeNameVec copy()
           
 TypeName elementAt(int index)
          * Other methods: * *
 void insertElementAt(TypeName obj, int index)
           
static TypeNameVec make()
          * Public maker methods: * *
static TypeNameVec make(int count)
           
static TypeNameVec make(TypeName[] els)
           
static TypeNameVec make(java.util.Vector vec)
           
 TypeName pop()
           
static TypeNameVec popFromStackVector(StackVector s)
           
 void removeAllElements()
           
 boolean removeElement(TypeName x)
           
 void removeElementAt(int i)
           
 void setElementAt(TypeName x, int index)
           
 int size()
           
 TypeName[] toArray()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

elements

private TypeName[] elements
* Instance fields: * *


count

private int count
Constructor Detail

TypeNameVec

private TypeNameVec(TypeName[] els)
* Private constructors: * *


TypeNameVec

private TypeNameVec(int cnt)
Method Detail

make

public static TypeNameVec make()
* Public maker methods: * *


make

public static TypeNameVec make(int count)

make

public static TypeNameVec make(java.util.Vector vec)

make

public static TypeNameVec make(TypeName[] els)

popFromStackVector

public static TypeNameVec popFromStackVector(StackVector s)

elementAt

public final TypeName elementAt(int index)
* Other methods: * *


setElementAt

public final void setElementAt(TypeName x,
                               int index)

size

public final int size()

toString

public final java.lang.String toString()

toArray

public final TypeName[] toArray()

copy

public final TypeNameVec copy()

contains

public boolean contains(TypeName x)

addElement

public final void addElement(TypeName x)

removeElement

public final boolean removeElement(TypeName x)

removeElementAt

public final void removeElementAt(int i)

pop

public final TypeName pop()

removeAllElements

public final void removeAllElements()

insertElementAt

public final void insertElementAt(TypeName obj,
                                  int index)

append

public final void append(TypeNameVec vec)

ESC/Java2
© 2003,2004,2005 David Cok and Joseph Kiniry
© 2005 UCD Dublin
© 2003,2004 Radboud University Nijmegen
© 1999,2000 Compaq Computer Corporation
© 1997,1998,1999 Digital Equipment Corporation
All Rights Reserved

The ESC/Java2 Project Homepage