mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
new addRows(Table) method
This commit is contained in:
@@ -2114,6 +2114,15 @@ public class Table {
|
||||
}
|
||||
|
||||
|
||||
public void addRows(Table source) {
|
||||
int index = getRowCount();
|
||||
setRowCount(index + source.getRowCount());
|
||||
for (TableRow row : source.rows()) {
|
||||
setRow(index++, row);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void insertRow(int insert, Object[] columnData) {
|
||||
for (int col = 0; col < columns.length; col++) {
|
||||
switch (columnTypes[col]) {
|
||||
|
||||
Reference in New Issue
Block a user