From cf4e7a7c46e4f830229dd046a7826ed224692061 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Wed, 30 Jul 2014 09:15:02 -0400 Subject: [PATCH] add copy() method to Table --- core/src/processing/data/Table.java | 6 ++++++ core/todo.txt | 1 + 2 files changed, 7 insertions(+) diff --git a/core/src/processing/data/Table.java b/core/src/processing/data/Table.java index a76ec9bfe..a153d16aa 100644 --- a/core/src/processing/data/Table.java +++ b/core/src/processing/data/Table.java @@ -4284,4 +4284,10 @@ public class Table { } } */ + + + /** Make a copy of the current table */ + public Table copy() { + return new Table(rows()); + } } diff --git a/core/todo.txt b/core/todo.txt index ecf2cc743..93a05f7b3 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,4 +1,5 @@ 0229 core (3.0a2) +X add copy() method to Table pulls