Commit Graph

45 Commits

Author SHA1 Message Date
Ben Fry
76eeaccedc normalize the behavior of remove() in the Dict classes 2019-01-20 09:52:29 -08:00
Ben Fry
15e67c206e add save() methods and implement write() consistently in the List and Dict classes 2018-04-24 18:25:35 -04:00
Ben Fry
36607cf2d2 change Sort to use int for comparisons for accuracy, add DoubleDict and DoubleList 2018-04-24 17:48:25 -04:00
Ben Fry
09de1fad83 fix entries() Iterator in IntDict, FloatDict, StringDict 2017-10-11 16:25:16 -04:00
Ben Fry
2dde225eae erase unnecessary types 2017-10-10 21:00:32 -04:00
Ben Fry
65b138de31 added resize() to IntDict, FloatDict, StringDict 2017-10-10 20:57:27 -04:00
Ben Fry
2327009d88 add setIndex() method 2017-10-10 20:34:40 -04:00
Ben Fry
f967150430 improve sum() functions in processing.data 2017-02-18 13:24:23 -05:00
Ben Fry
09950036c0 add suport for iterating over dictionary entries, cleaning up todo list 2016-11-14 21:27:21 -05:00
Ben Fry
84273784a2 add increment() method that takes IntDict to merge another dictionary 2016-11-14 20:37:16 -05:00
Ben Fry
67e9d13148 clean up toString() and implement toJSON() consistently 2016-10-30 16:12:40 -04:00
Ben Fry
4b6f16fac0 fix quoting problem in IntDict.toJSON() 2016-08-30 09:29:47 -04:00
Ben Fry
6cf8e399fe properly put escapes on strings 2016-08-09 18:35:21 -04:00
Ben Fry
c1e130925f trying out a toJSON() method 2016-08-03 18:30:25 -04:00
inkwellsiesta
2bb3582195 fixed iterator remove() methods so they dont skip container elements 2016-06-01 16:14:46 -04:00
Ben Fry
9c5579b233 several fixes, cleanups, and speed improvements to dictionary classes 2016-04-11 17:03:59 -04:00
REAS
63b8689d42 Correction to IntDict reference for values() method 2015-11-09 15:31:02 -08:00
Ben Fry
125cf5b943 add new String/Int/FloatDict constructors for easier initialization 2015-04-30 13:51:09 -04:00
Ben Fry
920a0e0e94 fix how missing values are handled in dictionaries 2014-11-07 09:30:25 -05:00
Ben Fry
5048bba606 add (simple) ODS writer to Table 2014-10-29 18:47:07 -04:00
Ben Fry
8efee02839 Merge pull request #2826 from federicobond/primitive-optimization
Optimize creation of boxed primitives
2014-08-28 11:02:02 -04:00
Federico Bond
80f64013a4 Optimize creation of boxed primitives 2014-08-26 19:40:19 -03:00
Federico Bond
7d09cd08a7 Remove merge artifact in IntDict javadoc 2014-08-25 14:58:42 -03:00
Ben Fry
2943469482 add print method to the Dict and List classes 2014-07-30 21:22:10 -04:00
Ben Fry
16e972f674 check on indices settings for the other Dict classes 2014-04-11 13:35:34 -04:00
Ben Fry
da0b526f68 making swap public 2013-09-13 02:19:56 -04:00
Ben Fry
c90d7ce0f3 fix for indices with alternate constructor 2013-09-05 00:02:09 -04:00
Ben Fry
d28ecd79ee fix up getPercentages() -> getPercent()... also add sort() to Table 2013-08-02 09:40:20 -04:00
Ben Fry
0f92ad1c94 add methods to sum up the values in a dict, and return percentages for each 2013-07-24 10:53:21 -04:00
REAS
a636728bb5 Removing advanced constructors from new Data reference 2013-06-03 10:00:04 -07:00
Ben Fry
476318fd76 adding AIOOBE to removeIndex() in Dict classes 2013-06-03 12:01:42 -04:00
Ben Fry
5e5c88e4c3 more fixes for the data classes 2013-06-03 10:19:31 -04:00
Daniel Shiffman
9b63656894 making Dict classes related for reference @alignedleft did I do this correctly? 2013-05-31 15:33:41 -04:00
Ben Fry
88a8c824a7 merge with the latest 2013-05-29 06:54:03 -04:00
Ben Fry
66fe4bfdb4 fixes for Iterable inconsistency 2013-05-29 06:52:41 -04:00
REAS
1600657e02 Updates to Int/Float/StringDict for reference 2013-05-26 23:41:55 -07:00
REAS
b9ab4107f4 Reference additions for IntDict 2013-05-23 23:17:35 -07:00
REAS
59e39a9b18 Changes to Dict and List classes for reference 2013-05-19 23:50:35 -07:00
REAS
eb326b7125 Modifications to Data classes for Reference entries 2013-05-18 22:01:26 -07:00
Ben Fry
cc2ef1a10e todo notes and fix for copy() method in Dict classes 2013-05-14 11:07:17 -04:00
Ben Fry
f8d25375cc bug fixing on Dict and List classes, add Iterable constructor 2013-05-01 14:54:54 -04:00
Ben Fry
82df257c77 switch to getSubset(), mult() instead of mul(), add upper/lower 2013-04-29 14:59:27 -04:00
Ben Fry
59b9cd573a fixing sort() methods so they are actually, you know, accurate... also ironing out Table bits 2013-04-29 09:45:30 -04:00
Ben Fry
3ab855e69a add hasKey() methods 2013-04-28 15:13:51 -04:00
Ben Fry
2daa6269b2 rename to use Dict instead of Hash, remove HTML and ODS tables 2013-04-28 15:11:07 -04:00