1 18 19 package org.apache.jmeter.testelement.property; 20 21 import java.util.Collection ; 22 import java.util.Iterator ; 23 24 30 public class PropertyIteratorImpl implements PropertyIterator 31 { 32 33 Iterator iter; 34 35 public PropertyIteratorImpl(Collection value) 36 { 37 iter = value.iterator(); 38 } 39 40 public PropertyIteratorImpl() 41 { 42 } 43 44 public void setCollection(Collection value) 45 { 46 iter = value.iterator(); 47 } 48 49 public boolean hasNext() 50 { 51 return iter.hasNext(); 52 } 53 54 public JMeterProperty next() 55 { 56 return (JMeterProperty)iter.next(); 57 } 58 59 62 public void remove() 63 { 64 iter.remove(); 65 } 66 67 } 68 | Popular Tags |