-
Notifications
You must be signed in to change notification settings - Fork 10
/
CHANGES.txt
1735 lines (885 loc) · 63.7 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
========Changes in 1.1.2 =========================================================================
1, Improvements and bug fix.
========Changes in 1.1.1 =========================================================================
1, Improvements and bug fix.
========Changes in 1.1.0 =========================================================================
1, Clazz.of(Class<?>) is marked to ‘Deprecated’ and will be removed in version 1.2.0 because it doesn’t work as expected.
2, Add EntryStream.collect(java.util.stream.Collector) and EntryStream.collectAndThen(java.util.stream.Collector, Function).
3, Improvements and bug fix.
========Changes in 1.0.9 =========================================================================
1*, Remove DataSet.__
2, Improve Clazz.
3, Improvements and bug fix.
========Changes in 1.0.8 =========================================================================
1*, Remove Retry0/Synchronized0.
2*, Rename Fast to Fj.
3*, Move IntPair/LongPair/.../IntTriple/LongTriple/... to new Files.
4*, Move Optional/Nullable.tryOrEmpty/castIfAssignable to N.
5*, Rename NamingPolicy.CAMEL_CASE to NamingPolicy.LOWER_CAMEL_CASE.
6*, Remove SQLBuilder.E/E2/.../SE.select(String expr).
7*, Remove Splitter.split(typeName...).
8*, Refactoring Joiner.
9, Add SQLBuilder.E/E2/.../SE.select(String expr, String[] columnNames).
10, Add Type.ofList/ofSet/ofMap.
11, Add N.anyNull/allNull/firstNonNull/lastNonNull.
12, Add N.tryOrEmpty/castIfAssignable/ifOrElse.
13, Add N.fromJSON/fromXML(Type...).
14, Improvements and bug fix.
========Changes in 1.0.7 =========================================================================
1*, Replace Throwable with Exception in Try/CompletableFuture/Futures/Observer/....
2, Improvements and bug fix.
========Changes in 1.0.6 =========================================================================
1*, Refactoring BiMap.put(key, value) and add forcePut.
2*, Remove IntList/ByteLits/../.empty().
3*, Rename NullabLe to Nullable.
4, Improvements and bug fix.
========Changes in 1.0.5 =========================================================================
1, Add Traverser
2, Improvements and bug fix.
========Changes in 1.0.4 =========================================================================
1*, Refactoring Stream.rangeMap(...): Change 'sameRange' from 'the pair of adjacent' to 'the leftmost and next elements'.
2*, Remove CassandraExecutor.toEntity(Class<T>, ResultSet).
3*, Rename distribution to percentiles.
4*, Rename IOUtil.close/closeQuietly(Collection<? extends AutoCloseable>) to closeAll/closeAllQuietly(Collection<? extends AutoCloseable>).
5*, Remove IOUtil.close/closeQuietly(Reader/Writer/..).
6*, Move SQLExecutor.Mapper.asyncGet/Find/Query/... to SQLExecutor.AsyncMapper.get/find/query/....
7, Add DataSet.apply/accept.
8, Add allMinOccurrences/allMaxOccurrences to Multiset/LongMultiset.
9, Support pushable Stream by Stream.observe(...).
10, Improvements and bug fix.
========Changes in 1.0.3 =========================================================================
1, Add DynamoDBExecutor.stream.
2*, Refactoring MongoDBExecutor: List<Document> distinct/aggregate/mapReduce(...) to Stream<Document> distinct/aggregate/mapReduce(...).
3*, Refactoring CassandraExecutor: Stream<Row> stream(...) to Stream<Map<String, Object>> stream(...).
4*, Refactoring HBaseExecutor: List<Result> scan(...) to Stream<Result> scan(...).
5, Improvements and bug fix.
========Changes in 1.0.2 =========================================================================
1*, Refactoring: change ConditionFactory/Criteria.limit(count, offset) to limit(offset, count) to keep consistent with SQLBuild.limit(...)
2*, Remove partitionBy/partitionByToEntry from Stream.
3*, Replace FileFilter with BiPredicate<File, File>.
4*, Remove IOUtil.listDirectories(parentPath, recursively, filter).
5*, Refactoring: Change: Retry.of(...Function<...? super Exception, Boolean>) to Retry.of(...Predicate<...? super Exception>).
6*, Refactoring N/IOUtil/JdbcUtil.parse(...), replace passing 'null' for ending with 'onComplete'.
7, Add IntStream/.../Stream.of(Supplier<Collection<? extends T>) for lazy evaluation.
8, Add Stream<File> Stream.list(...).
9, Add Fn.wrap(...).
10, Add SQLBuilder/CQLBuilder.apply(..).
11, Improvements and bug fix.
========Changes in 1.0.1 =========================================================================
1, Remove EventBus.register(subscriber)/register(subscriber, threadMode).
2, Add Holder/Pair/Triple/Tuple.filter(...).
3, Rename Holder/Pair/Triple/Tuple.apply(...) to map(...).
4, Add Char/Int/Long/Float/DoublePair/Triple.toList().
5, Rename Holder.V to Holder.R
6, Add f.replaceIf(...).
7, Improvements and bug fix.
========Changes in 1.0 =========================================================================
1, Add Keyed/Fn.keyed()/filtering/mapping/flatMapping.
2, Rename Build.value() to Build.val()
3, Improve CodeGenerator.
4, Add add/addAll/remove/removeAll/put/putAll to Build.X
5, Rename Maps.asMap/asLinkedHashMap to Maps.newMap/newLinkedHashMap.
6, Add Chain
7, Move HOST_NAME/CPU_CORES/JAVA_HOME/... from N to IOUtil.
8, Rename NullabLe.__/jdkOptional() to NullabLe.toOptional/toJdkOptional().
9, Move merge/zip/unzip(Iterator...) from Seq to Iterators.
10, Refactoring Seq.unzip/Iterators.unzip
11, Add Optional/NullabLe.tryOrEmpty
12, Refactoring: change the returned type of N.createNumber/createInteger/... to Optional<Number>/OptionalInt/...
13, Improvements and bug fix.
========Changes in 0.9.83=========================================================================
1, Add reverseSort to N.
2, Improve CodeGenerator.
3, Remove reverseSort from Seq, replaced by the reverseSort in N.
4, Improvements and bug fix.
========Changes in 0.9.82=========================================================================
1, Rename getCollExecutor/getCollection to collExecutor/collection in MongoDBExecutor.
2, Rename Fn.indexeed to Fn.indeXed.
3, Remove Splitter0/MapSplitter, replaced with Splitter.defauLt()/MapSplitter.defauLt().
4, Refactoring: change replaceIf(newValue, predicate) to replaceIf(predicate, newValue) in IntList/LongList/.../Multiset/LongMultiset/Multimap.
5, Rename Sheet.of(...) to Sheet.rows(...), Sheet.from to Sheet.columns(...);
6, Rename BiMap.inverse() to BiMap inversed().
7, Remove p_s from Stream.
8, Add CharPair/CharTriple
9, Move IOUtil.lineIterator to LineIterator.
10, Remove Array.box(Class)/unbox(Class), replaced by N.wrapperOf(Class)/primitiveOf(Class).
11, Rename RefUtil to ClassUtil
12, Improve DynamoDBExecutor.
13, Remove findFirst and findLast from N, replaced by between.
14, Improvements and bug fix.
========Changes in 0.9.81=========================================================================
1, Add toImmutableList/toImmutableSet/toImmutableMap to Stream
2, Remove Array.of(final BigInteger... a) and Array.of(final BigDecimal... a), replaced with N.asArray(T... a)
3, Remove summarize* from Stream
4, Rename NullabLe.orXXX/Optional.orXXX/OptionalInt.orXXX/.../ to orElseXXX to keep consistent with the Optionals in JDK.
5, Improvements and bug fix.
========Changes in 0.9.80=========================================================================
1, Improvements and bug fix.
========Changes in 0.9.79=========================================================================
1, Add select to Stream.
2, Add boolean containsAll(T... a) and boolean containsAll(Collection<? extends T> c) to Stream
3, Add BiFunction<K, V, Map.Entry<K, V>> entry() to Fn
4, Rename toMap2 to groupTo, groupBy2 to groupBy
5, Rename flatMap2 to flatCollection and flatMap3 to flatArray.
6, Improvements and bug fix.
========Changes in 0.9.78=========================================================================
1*, Remove from methods from IntList/ByteList/.../IntStream/Stream/...
2, Add minBy/maxBy to Stream
3*, Remove com.landawn.abacus.android.util.StreamEx. It's replaced by separated project at: https://github.com/landawn/Lightweight-Stream-API
4, Improvements and bug fix.
========Changes in 0.9.77=========================================================================
1*, Change the return types of sumInt/sumLong/sumDouble from Long/Long/Double/ to int/long/double.
2*, Remove averagingInt2OrGet/averagingInt2OrThrow/averagingLong2OrGet/averagingLong2OrThrow/averagingDouble2OrGet/averagingDouble2OrThrow from Collectors.
3*, Change the result types of sum(byte[])/sum(short[])/sum(int[])/sum(char[]) from Long to int.
4, Improvements and bug fix.
========Changes in 0.9.76=========================================================================
1*, Refactoring: change the order of parameters from :
DataSet.addColumn(String fromColumnName, String newColumnName, Function<?, ?> func)
To:
DataSet.addColumn(String newColumnName, String fromColumnName, Function<?, ?> func)
2, Add partitionBy/partitionByToEntry to Stream
3, Add N.compareIgnoreCase
4, Add reverseH/reverseV/flipH/flipV to Matrix/IntMatrix/...
5, Add Iterators
6, Add nRepeat/repeatToSize/nRepeatToSize to Seq/Iterators
7*, Move skipNull/concat(Collection<? extends Iterator<? extends T>> c) from Seq to Iterators.
8, Add public <SS> SS __(Function<? super Stream<T>, SS> transfer) to Stream/IntStream/...
9, Improvements and bug fix.
========Changes in 0.9.75=========================================================================
1, Add forEachPair/forEachTriple to Seq/Stream.
2, Add split(Predicate<? super T> predicate) to Seq/Stream/IntStream/LongStream/DoubleStream/...
3, Add ImmutableEntry
4*, Remove stream() from Splitter.
5*, Rename AbacusIOException/AbacusSQLException/AbacusXMLException to UncheckedIOException/UncheckedSQLException/UncheckedXMLException
6, Improvements and bug fix.
========Changes in 0.9.74=========================================================================
1*, Rename DataSet.getProperties() to DataSet.properties().
2, Add slidingMap to Stream
3, Enhance Seq.zip/unzip
4, Add Stream.unzip
5*, Remove asImmutable*/asSynchronized*/asChecked*/asLifoQueue from N.
6, Add copyOf to ImmutableMap/ImmutableList/ImmutableSet
7*, Rename Output to Holder
8, Improvements and bug fix.
========Changes in 0.9.73=========================================================================
1, Add split(U identity, BiFunction<? super T, ? super U, Boolean> predicate, Consumer<? super U> identityUpdate) to Seq
2, Add replaceIf to Matrix/IntMatrix/.../DataSet/Sheet.
3*, Rename Matrix.n to rows, Matrix.m to cols.
4, Add repmat to Matrix/IntMatrix/...
5, Add StreamEx, a simple wrapper for Lightweight-Stream-API.
6*, Refatoring: forEach(...BiPredicate<? super T, ? super R> conditionToBreak) to forEach(...BiPredicate<? super R, ? super T> conditionToBreak) in N/Seq/Stream/DataSet/Multiset/Multimap.
7*, Rename distinct(...Function<? super T, ?> keyExtractor) to distinctBy(...Function<? super T, ?> keyExtractor).
8, Add sortedBy to Stream.
9*, Rename reverseComparing… to reversedComparing, reverseOrder to reversedOrder in Fn/Comparators.
10, Improvements and bug fix.
========Changes in 0.9.72=========================================================================
1, Rename split2 to splitToList, split3 to splitToSet, sliding2 to slidingToList
2, Improvements and bug fix.
========Changes in 0.9.71=========================================================================
1*, Replace:
Stream<C> collapse(Supplier<C> supplier, BiPredicate<? super T, ? super T> collapsible, BiConsumer<? super C, ? super T> mergeFunction);
with:
Stream<R> collapse(BiPredicate<? super T, ? super T> collapsible, Collector<? super T, A, R> collector);
2*, Remove Stream<R> collapse(R seed, BiPredicate<? super T, ? super T> collapsible, BiFunction<? super R, ? super T, R> mergeFunction)
3, Add groupByToEntry to Stream.
4, Improve EntryStream.
5*, Refactoring Sheet.
6*, Refactoring Matrix.
7*, Move N.repeat(Collection<T> c, int n) from Seq.
8*, Rename DataSet.convertColumn(String columnName, Function<?, ?> func) to updateColumn.
9, Improvements and bug fix.
========Changes in 0.9.70=========================================================================
1, Add mapFirst/mapFirstOrElse/mapLast/mapLastOrElse to Stream.
2, Add append(T...)/prepend(T...) to Stream/Seq.
3, Add skipLast to Stream.
4, Add entryStream to Multiset/Multimap.
5, Add first(n) and last(n) to Seq.
6, Add splitAt/splitBy/findFirstOrLast/findFirstAndLast to Seq.
7, Add compare(...) to N.
8*, Remove orFalse() from OptionalBoolean.
9*, Refactoring Stream API to reduce the size of abacus-android-*.jar
10, Improvements and bug fix.
========Changes in 0.9.69=========================================================================
1*, Rename CompletableFuture.thenRun/CallWithUIExecutor... to thenRun/CallOnUI..., Rename thenRun/CallWithTPExecutor... to thenRun/CallByTP,
And remove thenRun/CallWithSerialExecutor...
2*, Rename asyncExecutor() to async() in SQLExecutor/DynamoDBExecutor/MongoDBExecutor/...,
Rename executor() to sync() in AsyncSQLExeuctor/AsyncDynamoDBExecutor/AsyncMongoDBExecutor
3*, Rename map2/map3 to biMap/triMap in Stream.
4, Add map/stream to Joiner
5, Add EntryStream
6, Improvements and bug fix.
========Changes in 0.9.68=========================================================================
1, Add map/mapToObj to IntList/LongList/DoubleList/.../IntMatrix/LongMatrix/Double/Matrix
2, Add median to IntTriple/LongTriple/FloatTriple/DoubleTriple
3*, Remove parameterized constructors from Pair/Triple/Tuple/Output/MutableInt/Indexed/IndexedInt/...
4, Add boxed to OptionalInt/OptionalDouble/...
5*, Change the parameter order of CSVUtil.loadCSV(Map<String, ? extends Type> columnTypeMap ...) and CSVUtil.loadCSV(List<? extends Type> columnTypeList ...)
6*, Change the parameter order of JdbcUtil.importData(...final Map<String, ? extends Type> columnTypeMap final int batchSize, final int batchInterval)
7*, Remove parse(iter..) and parse(iters...) from IOUtil/JdbcUtil, replaced by the methods in N.
8*, Refactoring LongStream/Stream.interval(...)
9*, Refactoring Try.Predicate/Function/Consumer/...
10*, Remove ExList
11*, Refatoring to reduce the size of abacus-android-*.jar.
12, Improvements and bug fix.
========Changes in 0.9.67=========================================================================
1, Add collectAndThen to Stream and Seq
2, Rename SQLExecutor.ExMapper to Mapper.
3, Refactoring IndexedPredicate/IndexedFunction/IndexedConsumer/...
4, Add slice(fromIndex, toIndex) to ExList
5, Rename indexed to _indexed in Fn and last to _last, dominators to _dominators in Collectors.
All the Function/Predicate/Collector... which can only be used in sequential stream start with _.
6, Add toImmutableList/toImmutableSet/toImmutableMap to Collectors
7, Improvements and bug fix.
========Changes in 0.9.66=========================================================================
1*, Remove apply*/accept*/complete/exceptionally from CompletableFuture.
2, Add methods to Fn to convert Function/BiFunction/TriFunction from/to Consumer/BiConsumer/TriConsumer.
3, Add rangeMap to Stream.
4, Add reverseSorted() to IntStream/LongStream/DoubleStream/...
5, Support execute(action, delay) in AsyncExecutor/SerialExecutor/UIExecutor/TPExecutor.
6, Improvements and bug fix.
========Changes in 0.9.65=========================================================================
1, Add cancelAll and isAllCancelled to CompletableFuture
2, Support debounce/throttleFirst/throttleLast by Observer.
3*, Replace android.util.AsyncExecutor with Async.SerialExecutor/TPExecutor/UIExecutor for Android.
4*, Rename android.util.Util to Fu.
5, Add last(n) to Stream.
6, Improvements and bug fix.
========Changes in 0.9.64=========================================================================
1, Add IntPair/LongPair/DoublePair/IntTriple/LongTriple/DoubleTriple/Tuple8/Tuple9.
2, Refactoring Predicate/Function/BiPredicate/BiFunction/BiConsumer and move the factory method to Fn.
3, Add upOf/downOf/leftOf/rightOf/adjacent4/adjacent8 to Matrix.
4, Add collect(java.util.stream.Collector collector) to Stream for Java 8 build
5, Improvements and bug fix.
========Changes in 0.9.63=========================================================================
1, Support SQLExecutor.ExMapper in Transaction by adding Connection parameter.
2*, Remove Output0
3, Rename generate(T seed,UnaryOperator<T> f) to iterate(T seed,UnaryOperator<T> f) in Stream/IntStream/...
4, Add Stream.ofNullable and ifPresentOrElse, learned from JDK 9.
5*, Rename reverse/shuffle/rotate to reversed/shuffled/rotated in Pair/Triple/Tuple/Stream/IntStream...
a) Keep consistent with sorted(...) in Stream.
b) Instead of update the order of the elements, reversed/shuffled/rotated return a new Object.
6*, Rename toMap/groupBy/toMap2/groupBy2 to toMap2/groupBy2/toMap/groupBy to keep consistent with Collectors.
7*, Remove toMap2 from IntList/ByteList/.../IntStream/ByteStream/...
8*, Refactoring head/tail/head2/tail2 in Stream/IntStream/...
9, Improvements and bug fix.
========Changes in 0.9.62=========================================================================
1*, Change the return type of distinct/top/split/intersection/difference/symmetricDifference in N/Seq/slice to ExList.
2*, Refactoring: Change Seq from a mutable Collection/Wrapper to an immutable Collection/Wrapper.
3, Improvements and bug fix.
========Changes in 0.9.61=========================================================================
1, Add Seq.toMultimap(...)
2, Add Fn for Stream<Map.Entry<K, V>>
3, Add filter/filterByKey/filterByValue to Maps/Multimap
4, Add filter to Multiset/LongMultiset.
5, Add more iterate/concat/merge to Seq.
6, Add reverse to Pair/Triple/Tuple
7, Add takeWhileInclusive to Seq
8, Add asMap/asLinkedHashMap(Collection<? extends T> c, final Function<? super T, ? extends K> keyExtractor) to Maps
9, Add stream(...) to Splitter/MapSplitter.
10, Add skipNull/useForNull to Joiner.
11, Add swapCase(char) to N.
12, Let Tuple2 implements Map.Entry.
13*, Move static methods: combine/allOf/anyOf/... from CompletableFuture to Futures
14*, Rename accept/acceptWhile to remove/removeWhile and add removeIf to Stream.
15*, Rename Pair2 to SP and Pair3 to CP.
16*, Replace Pair0 with Tuple2 and Triple0 with Tuple3.
17, Improvements and bug fix.
========Changes in 0.9.60=========================================================================
1, Add two more accept/apply to Pair/Triple.
2, Add intersperse to Seq/Stream.
3, Add innerJoin/fullJoin/leftJoin/rightJoin to Seq/Stream.
4*, Change the implementation of head/tail and head2/tail2 in Stream.
5*, Remove toList from Pair/Triple/Tuple.
6*, Rename subSeq to slice in Seq
7*, Refactoring Builder.
8*, Rename stream/stream0/stream2/stream02 to streamH/streamV/streamR/streamC in Sheet/Matrix/IntMatrix...
9, Improvements and bug fix.
========Changes in 0.9.59=========================================================================
1, Add more convenient methods to CassandraExecutor.
2*, Remove LongMultiset/IEEE754rUtil from Android jar to reduce the API size.
3*, Move concat(iterator...)/disjoint from N to Seq.
4*, Replace Stream.powerSet with Stream.combinations
5, Add concat(Collection...) to N/Seq
6, Add concat(String, String) concat(String ... a) to N.
7, Add intersection/difference/symmetricDifference to Maps
8, Support LocalTime/LocalDate/LocalDateTime for Java 8
9*, Refactoring: Change N.nullToEmpty(Class<T> componentType...) to N.nullToEmpty(Class<T[] arrayType...)
10*, Refactoring iterator...
11*, Rename drop*(...consumer) to accept*(...consumer)
12, Add cartesianProduct to stream.
13, Improvements and bug fix.
========Changes in 0.9.58=========================================================================
1, Add skipNull(iterator) to Seq.
2*, Rename update(...filter...)/delete(...filter...) to updateAll/deleteAll in MongoDBExecutor/MongoCollectionExecutor.
3*, Replace CassandraExecutor.save(...)/delete(...) with CassandraExecutor.mapper(targetClass).save(...)/delete(...).
4, Support get/insert/update/delete by id/entity for CassandraExecutor.
5, Support ORM with the fantastic mapper: ExMapper in SQLExecutor.mapper(targetEntityClass).
6, Add IntStream.of(java.util.stream.IntStream)/LongStream.of(java.util.stream.LongStream)/DoubleStream.of(java.util.stream.DoubleStream)/Stream.of(java.util.stream.Stream) for Java 8 edition.
7, Improvements and bug fix.
========Changes in 0.9.57=========================================================================
1, Add accept/apply to Tuples.
2, Add a few static creation method to interface Function/BiFunction/TriFunction/Consumer/BiConsumer/TriConsumer/BinaryOperator
3, Add containsAny/findFirstOrLast to Seq/ExList/IntList/...
4*, Replace acceptOnError/applyOnError with the second parameter in Try.run(...)/call(...).
5*, Rename Maps.getOrDefaultAll/getAll to Maps.getOrDefault/getIfPresent() and change the implementation: no value will be added to the returned list if the key doesn't exist in specified Map, instead of adding null.
6*, Move Maps.Entry.comparing* to Comparators.
7*, Replace N.nullMinOrder/nullMaxOrder/... with nullsFirst/nullsLast in Comparators.
8*, Rename OptionalNullable to NullabLe and improve it.
9*, Rename Holder to Output and improve it.
10, Improvements and bug fix.
========Changes in 0.9.56=========================================================================
1, Add shuffle(random) to ExList/IntList/Seq/Stream/IntStream/...
2, Add scan to Stream/IntStream/...
3, Add scan/collapse/flatMapToBoolean/flatMapToInt/flatMaptoLong/... to Seq.
4, Remove N.powerSet and add powerSet/permutations/cartesianProduct (copied from Google Guava) to Seq.
5, Add checkIndex/checkFromToIndex/checkFromIndexSize to N.
6, Add Comparators exported by Comparator from JDK 8.
7, Add Stream to Holder/Pair/Triple/Tuple/Optional/OptionalNullable/OptionalInt/...
8*, Move map2Entity/entity2Map/.../join from N to Maps.
9*, Move reflection related methods: forClass/getPropValue/setPropValue/... from N to RefUti.
10*, Remove ONE_SECOND/.../ONE_KB/... from N.
11*, Rename updateColumn to convertColumn in DataSet.
12, Improvements and bug fix.
========Changes in 0.9.55=========================================================================
1, Improve EventBus
2*, Rename asList to toList in Pair/Triple/Tuple/...
3, Fix the order issue in toArray/toList/forEach/... in Pair/Triple
4, Add headAndTail/headAndTail2 to Stream/IntStream/LongStream/...
5*, Rename ObjectList to ExList and Add ExCollection/ExSet/ExQueue/ExMap for Java 8.
6, Add unzip to Seq.
7, Improvements and bug fix.
========Changes in 0.9.54=========================================================================
1, Improve CompletableFuture
========Changes in 0.9.53=========================================================================
1, Improve Pair/Triple/Tuple...
2, Refactoring CompletableFuture/AsyncExecutor to keep consistent with CompletableFuture in JDK 8.
3, Improvements and bug fix.
========Changes in 0.9.52=========================================================================
1*, Reverse the condition to break the for loop in forEach : forEach(seed, accumulator, conditionToContinue) to forEach(seed, accumulator, conditionToBreak) in DataSet/Stream/N/ExList/Seq/Multiset/LongMultiset/Multimap.
2, Remove type parameter from SQLBuilder and CQLBuilder.
3, Import collapse from StreamEx to Stream/IntStream/...
4, add map2/map3 to Stream
5, Improvements and bug fix.
========Changes in 0.9.51=========================================================================
1, Support customized type in serialization/deserialization by TypeFactory.register(type).
2, Add vstack/hstack/setRow/setColumnfill to Matrix/IntMatrix/ByteMatrix...
3*, Replace N.asList2(...) with Array.asList(...).
4*, Rename reverseOrder to reversedOrder, nullMinComparator to nullMinOrder, nullMaxComparator to nullMaxOrder in N.
5*, Refactoring compare in N.
6, Improvements and bug fix.
========Changes in 0.9.50=========================================================================
1*, Remove flatMap3 from ExList/Seq.
2*, Remove convertColumn from DataSet, replaced with updateColumn/updateRow/updateAll.
3*, Remove differenceOf from N, replaced with indexOfDifference
4, Add divideColumn/updateColumn/updateRow/updateAll/swapColumn/swapRow/moveColumn/moveRow to DataSet.
5, Add renameRow/renameColumn/updateRow/updateColumn/updateAll/copy(rowKeySet, columnKeySet)/addRow(rowIndex,...)/addColumn(columnIndex,...)/moveRow/moveColumn/swapRow/swapColumn/merge/freeze/frozen/clone to Sheet.
6, Remove Sheet and rename ArraySheet to Sheet.
7, Improvements and bug fix.
========Changes in 0.9.49=========================================================================
1, Add reduce method to ByteList/IntList/...
2*, Refactoring: forEach(..., <..., R, R> accumulator, ...) to forEach(..., <R, ..., R> accumulator, ...) to keep consistent with reduce method.
3, Improvements and bug fix.
========Changes in 0.9.48=========================================================================
1, Add filter(BiPredicate<? super K, ? super V> filter) to Multimap
2, Add one more intersection/difference/symmetricDifference to Seq/ExList/IntList/... for array.
3, Add takeWhile/dropWhile/copyToList/copyToSet/copyTo to Seq.
4*, Rename stream() to stream0() in BiMap/ExList/ByteList/IntList/... to void the conflict if stream() is added to Map in JDK in the future.
5*, Refactoring ExList to extend List<T> interface.
6*, Remove flatten2 from Multiset/LongMultiset.
7*, Remove filter2/map2 from N.
8, Improvements and bug fix.
========Changes in 0.9.47=========================================================================
1, Add more min(a, b, c)/max(a, b, c) to N.
2*, Refactoring Multiset/LongMultiset/Multimap.forEach:
Change: "forEach(..., TriFunction<R, ? super E, Integer, R> accumulator...)"
to: "forEach(..., TriFunction<? super E, Integer, R, R> accumulator...)"
Change: "forEach(..., TriFunction<R, ? super E, Long, R> accumulator...)"
to: "forEach(..., TriFunction<? super E, Long, R, R> accumulator...)"
Change: "forEach(..., TriFunction<R, ? super K, ? super V, R> accumulator...)"
to: "forEach(..., TriFunction<? super K, ? super V, R, R> accumulator...)"
3*, remove "entrySet" from Multiset/LongMultiset
4, Add findFirstOrLast/findFirstAndLast to IntStream/ByteStream/DoubleStream/Stream...
5, Improvements and bug fix.
========Changes in 0.9.46=========================================================================
1, Import BigIntegerMath from Google Guava to Math2 and re-organize the API.
2, Add clone to DataSet.
3, Refactoring DataSet.groupBy: switch the positions of parameters 'resultColumnName' and 'collectorColumnName(s)'.
4, Refactoring DataSet.forEach:
Change: "forEach(..., BiFunction<R, ? super Object[], R> accumulator...)"
to: "forEach(..., BiFunction<? super Object[], R, R> accumulator...)"
to keep consistent the forEach method in other APIs
5, Improvements and bug fix.
========Changes in 0.9.45=========================================================================
1, Add toMap/toMap2 to IntList/LongList/.../ExList and Seq for more functional programming even without stream API on Android.
2, Add flatMap/flatMap2/flatMa3/reduce to ExList and Seq for more functional programming even without stream API on Android.
3, Add merge/zip/zipWith to Seq for more functional programming even without stream API on Android.
4, Add copy(from, to, step) to IntList/LongList/.../ExList
5, Add step(long step) to ByteStream/IntStream/.../Stream.
6, Improve N.copyOfRange(from, to, step) to support backwards copy.
7, Add Maps to import the useful default Map methods from JDK 1.8 for programming on JDK 7 and Android.
8, Add Tuple
9, Add println to IntList/LongList/.../ExList and Seq.
10, Improvements and bug fix.
========Changes in 0.9.44=========================================================================
1, Add method: add/subtract/multipliedBy/dividedBy to f.
2, Remove CharStream/ByteStream/ShortStream/FloatStream/... from library abacus-android-*.jar to reduce the API size.
3, Add map/mapToBoolean/mapToChar/mapToByte/.../mapToDouble to N to support more functional programming even without stream API on Android.
4, Add sumInt/sumLong/sumDouble/averageInt/averageLong/averageDouble to N to support more functional programming even without stream API on Android.
5, Refactoring N.filter(...) to support more functional programming even without stream API.
6, Add Seq for Collection.
7, Improvements and bug fix.
========Changes in 0.9.43=========================================================================
1, Add findFirstIndex/findLastIndex to ExList/IntList/LongList/DoubleList/...
2, Add Reflection
3, Refactoring RemoteExecutor.java
4, Add removeAll/retainAll/toSheet to DataSet.
5, Add addColumn(String fromColumnName, String newColumnName, Function<?, ?> mapper)/... to DataSet
6, rename multiplyBy/divideBy to dividedBy/multipliedBy in Fraction.
7, change random(startInclusive, endInclusive...) to random(startInclusive, endExclusive...) in CharList/IntList/CharStream/IntStream.
8, Add f for calculation based on multiple dimensions array.
9, Add row(rowIndex)/col(columnIndex) methods to Matrix/IntMatrix/LongMatrix/DoubleMatrix.
10, Remove split(supplier...) from Splitter and MapSplitter due to bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510528
11, Add N.clone(int[][][] a) to N
12, Change Profiler.run(..., Runnable cmd) to Profiler.run(..., Try.Runnable cmd)
13, Rename intersect/except/xor to intersection/difference/symmetricDifference to keep consistent with other frameworks.
14, add zipWith to Matrix/IntMatrix/LongMatrix/DoubleMatrix...
15, Improvements and bug fix.
========Changes in 0.9.42=========================================================================
0, Release new libraries: abacus-android-se-*.jar and abacus-android-se-jdk7-*.jar with smaller (API/method) size.
1, Add diagonal to Matrix/IntMatrix/LongMatrix/DoubleMatrix...
2, Rename iterate(supplier)/iterate(seed, unaryOperator) to generate(supplier)/generate(seed, unaryOperator) in Stream/IntStream/LongStream/DoubleStream...
to keep consistent with the APIs in JDK
3, Add method __() to Pair/Triple/Holder.
4, Add boxed to IntMatrix/LongMatrix/DoubleMatrix...
5, Add box/unbox methods for 2D array to Array.java.
6, Add Math2.
7, Exclude CodeGenerator and more classes from abacus-android-*.jar to reduce library size.
8, Improvements and bug fix.
========Changes in 0.9.41=========================================================================
1, Add stream/transpose/toDataSet/toMatrix to Sheet.
2, Remove iterate/iterateAll from SQLExecutor and Stream.of(resultSet, startIndex, endIndex) from Stream.
3, Improvements and bug fix.
========Changes in 0.9.40=========================================================================
1, Add removeIf(predicate)/replaceAll(unaryOperator)/replaceIf(newValue, predicate) to ExList/IntList/CharList/...
2, Add removeAllOccurrencesIf(predicate) and removeIf(occurrences, predicate), replaceAll(function) and replaceIf(newOccurrences, predicate) to Multiset/LongMultiset
3, Add removeIf(value, predicate)/removeAllIf(values, predicate)/removeAllIf(predicate) and replaceIf(oldValue, newValue, predicate)/replaceAllIf(oldValue, newValue, predicate) and replaceAll(function) to Multimap
4, Add Matrix/IntMatrix/LongMatrix/...
5, Refactoring flatten in Multiset/LongMultiset: change the return type from List to ExList and add flatten2 which returns List.
6, Improvements and bug fix.
========Changes in 0.9.39=========================================================================
1, Add head()/tail(), head2()/tail2() to Stream/IntStream/DoubleStream/...
2, Add println to Stream/IntStream/DoubleStream/...
3, Add one more findFirst/findLast/anyMatch/AllMatch/noneMatch to Stream.
4, Refacotoring: forEach(U identity, BiFunction<U, ? super T, U> accumulator, Predicate<? super U> predicate) :
Change "Predicate<? super U> predicate" to "BiPredicate<? super T, ? super U> predicate"
5, Big improvements for Stream/IntStream/DoubleStream/...
6, update snappy-java from 1.1.2.1 to 1.1.2.6.
7, Improvements and bug fix.
========Changes in 0.9.38=========================================================================
1, Remove subList(from, to) from ExList/IntList/...
2, Add copy(from, to) to ExList/IntList/...
3, Add stream(...) to BooleanList.
4, Add from(boolean[]) to Stream.
5, Refactoring ExList