jet.runtime
Class ArrayIterator<T>

java.lang.Object
  extended by jet.runtime.ArrayIterator<T>
All Implemented Interfaces:
Iterator<T>

public abstract class ArrayIterator<T>
extends Object
implements Iterator<T>


Field Summary
protected  int index
           
 
Constructor Summary
protected ArrayIterator(int size)
           
 
Method Summary
 boolean hasNext()
           
static jet.BooleanIterator iterator(boolean[] array)
           
static jet.ByteIterator iterator(byte[] array)
           
static jet.CharIterator iterator(char[] array)
           
static jet.DoubleIterator iterator(double[] array)
           
static jet.FloatIterator iterator(float[] array)
           
static jet.IntIterator iterator(int[] array)
           
static jet.LongIterator iterator(long[] array)
           
static jet.ShortIterator iterator(short[] array)
           
static
<T> Iterator<T>
iterator(T[] array)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
next, remove
 

Field Detail

index

protected int index
Constructor Detail

ArrayIterator

protected ArrayIterator(int size)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T>

iterator

public static <T> Iterator<T> iterator(T[] array)

iterator

public static jet.ByteIterator iterator(byte[] array)

iterator

public static jet.ShortIterator iterator(short[] array)

iterator

public static jet.IntIterator iterator(int[] array)

iterator

public static jet.LongIterator iterator(long[] array)

iterator

public static jet.FloatIterator iterator(float[] array)

iterator

public static jet.DoubleIterator iterator(double[] array)

iterator

public static jet.CharIterator iterator(char[] array)

iterator

public static jet.BooleanIterator iterator(boolean[] array)


Copyright © 2014. All Rights Reserved.