public Expect sub(int i) { return (Expect) subs.elementAt(i); }
public Expect(Object topE, Object subE) { expected = topE; subs = new Vector(); subs.addElement((subE instanceof Expect) ? subE : (new Expect(subE))); }
public int subCount() { return subs.size(); }
public Expect(Object topE, Expect[] subE) { expected = topE; subs = new Vector(); for (int i = 0; i < subE.length; i++) subs.addElement(subE[i]); }