1 15 16 package net.sourceforge.groboutils.junit.v1.iftc; 17 18 19 28 public abstract class Sample3 implements Sample1 { 29 private java.util.Vector addedStrings = new java.util.Vector (); 30 31 protected Sample3() {} 32 33 public void addString( String s ) { 34 if (s == null) { 35 throw new IllegalArgumentException ("no null arguments"); 36 } 37 this.addedStrings.addElement( s ); 38 } 39 40 41 public java.util.Enumeration getAddedStrings() { 42 return this.addedStrings.elements(); 43 } 44 } 45 46 | Popular Tags |