Sha256: ccf552c4380e81b1bdd1b9c119aa57deb95e74431a67a1111e8d413bf59f44b6

Contents?: true

Size: 445 Bytes

Versions: 28

Compression:

Stored size: 445 Bytes

Contents

package asunit.util {

	import asunit.util.Iterator;

	[ExcludeClass]
	public class ArrayIterator implements Iterator {
		private var list:Array;
		private var index:Number = 0;

		public function ArrayIterator(list:Array) {
			this.list = list;
		}

		public function hasNext():Boolean {
			return list[index] != null;
		}

		public function next():Object {
			return list[index++];
		}

		public function reset():void {
			index = 0;
		}
	}
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
asproject-0.1.31 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.30 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.29 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.28 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.27 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.21 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.34 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.32 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.36 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.37 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.33 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.35 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.41 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.44 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.42 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.43 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.38 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.40 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.60 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as
asproject-0.1.68 templates/asproject/asunit3/project/lib/asunit/asunit/util/ArrayIterator.as