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

escjava.ast
Class DefPredVec

java.lang.Object
  extended byescjava.ast.DefPredVec

public class DefPredVec
extends java.lang.Object


Field Summary
private  int count
           
private  DefPred[] elements
          * Instance fields: * *
 
Constructor Summary
private DefPredVec(DefPred[] els)
          * Private constructors: * *
private DefPredVec(int cnt)
           
 
Method Summary
 void addElement(DefPred x)
           
 void append(DefPredVec vec)
           
 boolean contains(DefPred x)
           
 DefPredVec copy()
           
 DefPred elementAt(int index)
          * Other methods: * *
 void insertElementAt(DefPred obj, int index)
           
static DefPredVec make()
          * Public maker methods: * *
static DefPredVec make(DefPred[] els)
           
static DefPredVec make(int count)
           
static DefPredVec make(java.util.Vector vec)
           
 DefPred pop()
           
static DefPredVec popFromStackVector(StackVector s)
           
 void removeAllElements()
           
 boolean removeElement(DefPred x)
           
 void removeElementAt(int i)
           
 void setElementAt(DefPred x, int index)
           
 int size()
           
 DefPred[] 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 DefPred[] elements
* Instance fields: * *


count

private int count
Constructor Detail

DefPredVec

private DefPredVec(DefPred[] els)
* Private constructors: * *


DefPredVec

private DefPredVec(int cnt)
Method Detail

make

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


make

public static DefPredVec make(int count)

make

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

make

public static DefPredVec make(DefPred[] els)

popFromStackVector

public static DefPredVec popFromStackVector(StackVector s)

elementAt

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


setElementAt

public final void setElementAt(DefPred x,
                               int index)

size

public final int size()

toString

public final java.lang.String toString()

toArray

public final DefPred[] toArray()

copy

public final DefPredVec copy()

contains

public boolean contains(DefPred x)

addElement

public final void addElement(DefPred x)

removeElement

public final boolean removeElement(DefPred x)

removeElementAt

public final void removeElementAt(int i)

pop

public final DefPred pop()

removeAllElements

public final void removeAllElements()

insertElementAt

public final void insertElementAt(DefPred obj,
                                  int index)

append

public final void append(DefPredVec 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