add copy() method to Table

This commit is contained in:
Ben Fry
2014-07-30 09:15:02 -04:00
parent 514385835e
commit cf4e7a7c46
2 changed files with 7 additions and 0 deletions

View File

@@ -4284,4 +4284,10 @@ public class Table {
}
}
*/
/** Make a copy of the current table */
public Table copy() {
return new Table(rows());
}
}