Neue Klasse: FloatIterator

thobaben_serialize
Harald Wolff 2015-10-02 14:31:07 +02:00
parent e4e0a9d2cc
commit 706278fae7
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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++];
};
}