Adding config file for sharing.
[iot2.git] / iotjava / iotpolicy / tree / ParseNodeVector.java
1 package iotpolicy.tree;
2
3 import java.util.Vector;
4
5 public class ParseNodeVector {
6   private Vector v;
7
8   public ParseNodeVector() {
9     v = new Vector();
10   }
11
12   public void addElement(ParseNode pn) {
13     v.addElement(pn);
14   }
15
16   public void insertElementAt(ParseNode pn, int n) {
17     v.insertElementAt(pn, n);
18   }
19
20   public ParseNode elementAt(int i) {
21     return (ParseNode) v.elementAt(i);
22   }
23
24   public int size() {
25     return v.size();
26   }
27 }