Ben Fry
017d32fb22
new addRows(Table) method
2014-10-30 18:29:47 -04:00
Ben Fry
40788807ee
y'all should handle nulls too
2014-10-30 16:57:44 -04:00
Ben Fry
5048bba606
add (simple) ODS writer to Table
2014-10-29 18:47:07 -04:00
Ben Fry
f27da8509b
fix replace() with nulls
2014-10-28 11:52:35 -04:00
Ben Fry
897656c9b9
ignore case on types, add category to javadoc
2014-10-22 18:56:43 -04:00
Federico Bond
84b2efd8f8
Use correct parameter types in FloatList methods
2014-10-13 15:16:32 -03:00
Federico Bond
768c72e4e8
Replace instances of StringBuffer with StringBuilder
2014-09-13 20:12:23 -03: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
7d11ece606
add trim() method to XML (removes #text nodes)
2014-08-12 10:15:05 -04:00
Jason Sigal
b89dbc46d0
fix tiny typo in Table writeHTML()
...
just noticed a tiny typo in the writeHTML method of saveTable()
2014-08-10 22:13:00 -04:00
Ben Fry
8405fdcc4f
more NaN check business
2014-08-02 07:38:34 -04:00
Ben Fry
e7c3f3f2c2
fix AIOOBE when sorting all NaN FloatList or FloatDict
2014-08-02 07:08:50 -04:00
Ben Fry
2943469482
add print method to the Dict and List classes
2014-07-30 21:22:10 -04:00
Ben Fry
76dedb1d5b
move NaN values to the end of the list when sorting
2014-07-30 20:42:40 -04:00
Ben Fry
c5b2bda620
Merge pull request #2672 from aengelke/string-list-insert-fix
...
Fix insert bug in StringList
2014-07-30 12:39:34 -04:00
Ben Fry
cb2629c37b
Merge pull request #2343 from jordanorelli/master
...
fixes #2341 - inconsistent bounds checks
2014-07-30 12:36:00 -04:00
Alexis Engelke
ca0a0580c3
Fix processing/processing#2548
2014-07-30 17:51:58 +02:00
Ben Fry
a0bc02db16
return null on getString() for NaN values
2014-07-30 09:38:19 -04:00
Ben Fry
cf4e7a7c46
add copy() method to Table
2014-07-30 09:15:02 -04:00
Yong Bakos
fe7d4b8ad5
Correcting descriptions of reverse method for FloatList, IntList and StringList.
...
Fixes https://github.com/processing/processing-docs/issues/50
2014-07-28 18:34:26 -05:00
Ben Fry
a9a4d48ba9
more bug fixes
2014-07-25 10:21:08 -04:00
Ben Fry
8873944ef9
add setRow() and fixes for Table(Iterable) performance
2014-07-22 17:30:35 -04:00
Ben Fry
5cf458e539
actually fix the category bug, and remove debug lines. ahem.
2014-07-22 16:21:00 -04:00
Ben Fry
c3f0e62b1c
table bug fixes and additions
2014-07-22 16:03:28 -04:00
Ben Fry
7a6018b8e2
table fixes and notes
2014-07-10 14:18:40 -04:00
Ben Fry
3513a01c59
working on launch4j builder
2014-05-10 09:27:38 -04:00
codeanticode
e3ccd69ce6
missing categories are correctly saved in binary
2014-04-25 22:53:50 -04:00
Ben Fry
400fda8bb0
fix for categorical missing values
2014-04-16 15:40:33 -04:00
Ben Fry
16e972f674
check on indices settings for the other Dict classes
2014-04-11 13:35:34 -04:00
Ben Fry
434d8138cc
remove a handful of warnings
2014-02-06 23:31:58 -05:00
Jordan Orelli
6f2b4ce9a9
fixes #2341 - inconsistent bounds checks
...
The core datastructure IntLost, FloatList, and StringList all have
unsafe .get methods that do not perform bounds checking. This is in
contrast to their .remove methods, which do perform bounds checking.
Prior to this patch, the following would print 0:
IntList il = new IntList();
println(il.get(5));
But if we tried to *remove* that element, we would get an
ArrayIndexOutOfBoundException:
il.remove(5);
This patch causes calls to .get to throw exceptions instead of returning
0 (or null in the case of StringList) for uninitialized values.
2014-02-02 22:27:02 -05:00
Ben Fry
40170baa91
fix for indices not set properly with StringDict(Reader)
2014-01-26 17:29:38 -05:00
Ben Fry
fd57fac8b6
added print() method
2014-01-21 18:26:28 -05:00
Ben Fry
b92df88eca
fix random insertRow() issue
2013-10-20 10:09:30 -04:00
Ben Fry
c1b076ba07
fix indents for child elements when using -1 ( #2119 )
2013-10-11 19:27:10 -04:00
Ben Fry
9b2d4bcb11
workaround for unicode issues with NLF in XML files ( #2100 )
2013-09-28 15:53:46 -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
575d7ab313
minor Table bug fixes, add static version of JSON load for File
2013-08-24 12:14:33 -04:00
Ben Fry
41d403889c
fix options parsing to handle spaces in the names
2013-08-21 12:28:02 -04:00
Ben Fry
fa07dc1dbc
add constructor for Table to deal with iterator ( #1956 )
2013-08-13 22:21:19 -04:00
Ben Fry
55b7719367
adding dictionary option for table loading
2013-08-13 21:51:35 -04:00
Ben Fry
d7fde748a0
aborted attempt to add split() to StringList
2013-08-13 21:51:12 -04:00
Ben Fry
fd21bb3378
fix JSON handling of null and optional items
2013-08-12 17:46:35 -04:00
Ben Fry
99eef5107b
add getContent(defaultValue) to XML
2013-08-12 17:22:06 -04:00
Ben Fry
61b34b4f9b
add join() method to Int/Float/StringList
2013-08-12 08:57:28 -04:00
Ben Fry
5f7a63aad3
add auto-resize to IntList.increment()
2013-08-08 14:48:32 -04:00
Ben Fry
c638d7c81b
add sum() to IntList and FloatList ( #1893 )
2013-08-07 19:07:09 -04:00