mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 22:29:18 +01:00
cleaning up FloatHash, getting to work on the others, fix iterator in Table
This commit is contained in:
@@ -1764,8 +1764,12 @@ public class Table {
|
||||
}
|
||||
|
||||
|
||||
public Iterator<TableRow> rows(int[] indices) {
|
||||
return new RowIndexIterator(this, indices);
|
||||
public Iterable<TableRow> rows(final int[] indices) {
|
||||
return new Iterable<TableRow>() {
|
||||
public Iterator<TableRow> iterator() {
|
||||
return new RowIndexIterator(Table.this, indices);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user