forked from LupusNobilis/java-org.hwo
22 lines
264 B
Java
22 lines
264 B
Java
package org.hwo;
|
|
|
|
public class FloatIterator {
|
|
|
|
float[] values;
|
|
int i = 0;
|
|
|
|
public FloatIterator(float[] v){
|
|
this.values = v;
|
|
}
|
|
|
|
public boolean hasNext(){
|
|
return (i < this.values.length);
|
|
};
|
|
|
|
public float next(){
|
|
return this.values[i++];
|
|
};
|
|
|
|
|
|
}
|