[COLLECTIONS-459] Made fields package private, as suggested.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1494267 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cbfea04200
commit
b1162d812e
|
@ -38,13 +38,13 @@ import org.apache.commons.collections4.ResettableIterator;
|
|||
public class ArrayIterator<E> implements ResettableIterator<E> {
|
||||
|
||||
/** The array to iterate over */
|
||||
protected final Object array;
|
||||
final Object array;
|
||||
/** The start index to loop from */
|
||||
protected final int startIndex;
|
||||
final int startIndex;
|
||||
/** The end index to loop to */
|
||||
protected final int endIndex;
|
||||
final int endIndex;
|
||||
/** The current iterator index */
|
||||
protected int index = 0;
|
||||
int index = 0;
|
||||
|
||||
// Constructors
|
||||
// ----------------------------------------------------------------------
|
||||
|
|
|
@ -37,13 +37,13 @@ public class ObjectArrayIterator<E>
|
|||
implements Iterator<E>, ResettableIterator<E> {
|
||||
|
||||
/** The array */
|
||||
protected final E[] array;
|
||||
final E[] array;
|
||||
/** The start index to loop from */
|
||||
protected final int startIndex;
|
||||
final int startIndex;
|
||||
/** The end index to loop to */
|
||||
protected final int endIndex;
|
||||
final int endIndex;
|
||||
/** The current iterator index */
|
||||
protected int index = 0;
|
||||
int index = 0;
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue