|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jrockit.mc.flightrecorder.util.ArrayIterator<Type>
public final class ArrayIterator<Type>
Iterator that iterates over an array. Hopefully faster than Arrays.asList(...).iterator() since there are no concurrency checks and everything is already "inlined".
Constructor Summary | |
---|---|
ArrayIterator(Type[] range)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
Type |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayIterator(Type[] range)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<Type>
public Type next()
next
in interface java.util.Iterator<Type>
public void remove()
remove
in interface java.util.Iterator<Type>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |