From de58f4cf347c28801d054cda2ff47cd4b2a22b69 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sun, 21 Apr 2013 12:31:23 -0400 Subject: [PATCH] notes about api for data functions --- core/todo.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/core/todo.txt b/core/todo.txt index 031ce41d7..7a55f01bc 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -19,6 +19,13 @@ _ https://github.com/processing/processing/issues/1730 hash/dict/etc _ need to sort out the final version of these and their names +_ JSONObject.has(key) vs XML.hasAttribute(attr) vs HashMap.containsKey() +_ and how it should be handled with hash/dict +_ right now using hasKey().. in JSONObject +_ contains() as default, then containsValue() as the alternate +_ instead of containsKey() and containsValue() +_ add() to add things to lists, inc/dec for the math +_ inc/dec/sum is used less, after all table _ table writing twice when .csv is added @@ -58,10 +65,6 @@ _ Dan having trouble with JSON _ keys() vs keySet() in JSON.. _ keys() doesn't iterate, keySet() introduces 'Set' type _ add parseXML() and parseJSONObject(x) -_ JSONObject.has(key) vs XML.hasAttribute(attr) vs HashMap.containsKey() -_ and how it should be handled with hash/dict -_ right now using hasKey().. in JSONObject -_ add() to add things to lists, sum() for the math (sum is used less after all) andres A lines not properly renderered in P3D when using ortographic projection