Package org.basex.util
Class ArrayIterator<E>
java.lang.Object
org.basex.util.ArrayIterator<E>
- Type Parameters:
E- generic object type
This class is used to iterate through objects of an array.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Constructor Summary
ConstructorsConstructorDescriptionArrayIterator(Object[] array, int end) Constructor.ArrayIterator(Object[] array, int start, int end) Constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ArrayIterator
Constructor.- Parameters:
array- array to iterate throughend- index + 1 of last object to return
-
ArrayIterator
Constructor.- Parameters:
array- array to iterate throughstart- index of first object to returnend- index + 1 of last object to return
-
-
Method Details