Skip to content

Commit

Permalink
0.9.55
Browse files Browse the repository at this point in the history
  • Loading branch information
landawn committed Mar 5, 2017
1 parent f2f38b6 commit 427a760
Show file tree
Hide file tree
Showing 60 changed files with 1,698 additions and 727 deletions.
96 changes: 52 additions & 44 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

1, Improve EventBus

2, Improvements and bug fix.
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, Improvements and bug fix.

========Changes in 0.9.54=========================================================================

Expand All @@ -19,7 +27,7 @@

========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/ObjectList/Seq/Multiset/LongMultiset/Multimap.
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.

Expand Down Expand Up @@ -47,7 +55,7 @@

========Changes in 0.9.50=========================================================================

1*, Remove flatMap3 from ObjectList/Seq.
1*, Remove flatMap3 from ExList/Seq.

2*, Remove convertColumn from DataSet, replaced with updateColumn/updateRow/updateAll.

Expand Down Expand Up @@ -75,13 +83,13 @@

1, Add filter(BiPredicate<? super K, ? super V> filter) to Multimap

2, Add one more intersection/difference/symmetricDifference to Seq/ObjectList/IntList/... for array.
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/ObjectList/ByteList/IntList/... to void the conflict if stream() is added to Map in JDK in the future.
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 ObjectList to extend List<T> interface.
5*, Refactoring ExList to extend List<T> interface.

6*, Remove flatten2 from Multiset/LongMultiset.

Expand Down Expand Up @@ -128,13 +136,13 @@

========Changes in 0.9.45=========================================================================

1, Add toMap/toMap2 to IntList/LongList/.../ObjectList and Seq for more functional programming even without stream API on Android.
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 ObjectList 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/.../ObjectList
4, Add copy(from, to, step) to IntList/LongList/.../ExList

5, Add step(long step) to ByteStream/IntStream/.../Stream.

Expand All @@ -144,7 +152,7 @@

8, Add Tuple

9, Add println to IntList/LongList/.../ObjectList and Seq.
9, Add println to IntList/LongList/.../ExList and Seq.

10, Improvements and bug fix.

Expand All @@ -167,7 +175,7 @@

========Changes in 0.9.43=========================================================================

1, Add findFirstIndex/findLastIndex to ObjectList/IntList/LongList/DoubleList/...
1, Add findFirstIndex/findLastIndex to ExList/IntList/LongList/DoubleList/...

2, Add Reflection

Expand Down Expand Up @@ -230,15 +238,15 @@

========Changes in 0.9.40=========================================================================

1, Add removeIf(predicate)/replaceAll(unaryOperator)/replaceIf(newValue, predicate) to ObjectList/IntList/CharList/...
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 ObjectList and add flatten2 which returns List.
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.

Expand All @@ -263,15 +271,15 @@

========Changes in 0.9.38=========================================================================

1, Remove subList(from, to) from ObjectList/IntList/...
1, Remove subList(from, to) from ExList/IntList/...

2, Add copy(from, to) to ObjectList/IntList/...
2, Add copy(from, to) to ExList/IntList/...

3, Add stream(...) to BooleanList.

4, Add from(boolean[]) to Stream.

5, Refactoring ObjectList
5, Refactoring ExList

6, Refactoring Stream.

Expand All @@ -286,7 +294,7 @@

3, Remove filter(predicate, max)/takeWhile(predicate, max)/dropWhile(predicate, max) from Stream/IntStream/DoubleStream/...

4, Refactoring ObjectList.
4, Refactoring ExList.

5, Improving Stream/IntStream/DoubleStream/...

Expand Down Expand Up @@ -320,7 +328,7 @@

3, switch the flatMapXXX2 and flatMapXXX3 in Stream.

4, inverse the condition of for-loop continuation to keep consistent with other method: takeWhile/dropWhile/filter/... in Stream/N/ObjectList/DataSet...
4, inverse the condition of for-loop continuation to keep consistent with other method: takeWhile/dropWhile/filter/... in Stream/N/ExList/DataSet...

6, Improvements and bug fix.

Expand Down Expand Up @@ -365,7 +373,7 @@

12, Add Try and Synchronized.

13, Add filter filter(final U check, final BiPredicate<? super T, ? super U> predicate) to Stream/ObjectList/N
13, Add filter filter(final U check, final BiPredicate<? super T, ? super U> predicate) to Stream/ExList/N

14, Add takeWhile/dropWhile(final U check, final BiPredicate<? super T, ? super U> predicate) to Stream

Expand All @@ -390,7 +398,7 @@

3, Add permutation and orderedPermutation to Stream, the implementation is copied from Google Guava.

4, Add hasDuplicates to Stream/ObjectList/IntList...
4, Add hasDuplicates to Stream/ExList/IntList...

5, Add reverse/splitAt to Stream/IntStream/DoubleStream/...

Expand Down Expand Up @@ -418,7 +426,7 @@

1, Add xor to Stream/IntStream/LongStream/DoubleStream/...

2, Remove copy(int, int) from ObjectList/IntList/..., it can be replaced by subList(int, int).
2, Remove copy(int, int) from ExList/IntList/..., it can be replaced by subList(int, int).

3, Add indexed() to stream/IntStream/DoubleStream/...

Expand Down Expand Up @@ -453,13 +461,13 @@

========Changes in 0.9.27=========================================================================

1, Remove joint(...) from ObjectList/IntList.../N because it's can be replace by !disjoint(...)
1, Remove joint(...) from ExList/IntList.../N because it's can be replace by !disjoint(...)

2, Add replaceAll(...) to ObjectList/IntList...
2, Add replaceAll(...) to ExList/IntList...

3, Refactoring groupBy/toMap/toMultimap/distinct methods in DataSet

4, Refactoring distinct(...) methods in ObjectList/Stream
4, Refactoring distinct(...) methods in ExList/Stream

5, Add zipWith(...) to Stream/IntStream/DoubleStream/...

Expand All @@ -471,9 +479,9 @@
1, Remove a few classes to reduce the size of the library for Android.
The methods excluding generateEntity(...) and printClassMethod(...) won't work within libraries abacus-android-XXX .

2, Remove the return type from add(...) and addAll(...) to reduce confusion in ObjectList/IntList/...
2, Remove the return type from add(...) and addAll(...) to reduce confusion in ExList/IntList/...

3, Add shuffle/swap/deleteAll/removeAll(T[]/addAll(T[])/addAll(int, T[])/containsAll(T[])/disjoint/occurrencesOf/binarySearch/... to ObjectList/IntList/DoubleList/...
3, Add shuffle/swap/deleteAll/removeAll(T[]/addAll(T[])/addAll(int, T[])/containsAll(T[])/disjoint/occurrencesOf/binarySearch/... to ExList/IntList/DoubleList/...

4, Refactring distribution in N/Stream/IntStream/DoubleStream/...

Expand All @@ -488,7 +496,7 @@

2, merge NullSkippedIterator into NullSkipped.

3, add random() to ObjectList/IntList/CharList... and Stream/IntStream/CharStream/...
3, add random() to ExList/IntList/CharList... and Stream/IntStream/CharStream/...

6, Improvements and bug fix.

Expand All @@ -510,7 +518,7 @@

========Changes in 0.9.23=========================================================================

1, Add join(...) to ObjectList/IntList/DoubleList/...
1, Add join(...) to ExList/IntList/DoubleList/...

2, Add cached() and persist(...) to Stream

Expand Down Expand Up @@ -580,7 +588,7 @@

6, Refactoring: DynamoDBExecutor

7, Refactoring: remove forEach2(...) in N/Stream/ObjectList/... and add forEach(final R identity, BiFunction<R, ? super T, R> accumulator, final Predicate<? super R> till);
7, Refactoring: remove forEach2(...) in N/Stream/ExList/... and add forEach(final R identity, BiFunction<R, ? super T, R> accumulator, final Predicate<? super R> till);

8, Rename N.getType(...) to N.typeOf(...)

Expand Down Expand Up @@ -624,11 +632,11 @@

1, Add toList()/toSet()/toMultiset()/toLongMultiset()/toMap/toMultimap to Stream/IntStream/DoubleStream/....

2, Remove toMap/toMultimap/toMultiset from N/ObjectList/IntList/.... It's replaced by the methods in toMap/toMultimap/toMultiset in Stream/IntStream/DoubleStream...
2, Remove toMap/toMultimap/toMultiset from N/ExList/IntList/.... It's replaced by the methods in toMap/toMultimap/toMultiset in Stream/IntStream/DoubleStream...

3, Add forEach2 to IntList/DoubleList/... and IntStream/DoubleStream/....

4, Remove forEach/forEach2 from N. it's replaced by the forEach/forEach2 in ObjectList/IntList/DoubleList/.../Stream/IntStream/DoubleStream/...
4, Remove forEach/forEach2 from N. it's replaced by the forEach/forEach2 in ExList/IntList/DoubleList/.../Stream/IntStream/DoubleStream/...

5, bug fix and improvements.

Expand All @@ -648,31 +656,31 @@

2, getOrDefault/addIfAbsent/computeIfAbsent/computeIfPresent/compute/merge to Multimap.

3, Add except(...)/intersect(...)/xor(...) to N/ObjectList/IntList/DoubleList/...
3, Add except(...)/intersect(...)/xor(...) to N/ExList/IntList/DoubleList/...

4, change the specification of N.removeAll(...) to keep consistent with Collection.removeAll()/ObjectList/IntList/Double/.../.removeAll();
4, change the specification of N.removeAll(...) to keep consistent with Collection.removeAll()/ExList/IntList/Double/.../.removeAll();

5, bug fix and improvements.

========Changes in 0.9.5=========================================================================

1, Add mapTo(...) and mapToXXX(...) to ObjectList.
1, Add mapTo(...) and mapToXXX(...) to ExList.

2, Add forEach(IndexedConsumer)/forEach(IndexedXXXConsumer) ObjectList/IntList/DoubleList/...
2, Add forEach(IndexedConsumer)/forEach(IndexedXXXConsumer) ExList/IntList/DoubleList/...

3, Refactoring accept(T t, int idx) to void accept(int idx, T t) in IndexedConsumer/IndexedDoubleConsumer/IndexedIntConsumer/....

4, Change the default queue size for methods: parallelConcat(...)/parallelZip(...) in Stream.

5, Remove map(...)/flatmap(...)/reduce(...)/groupBy(...) from N/ObjectList/IntList/DoubleList/...
5, Remove map(...)/flatmap(...)/reduce(...)/groupBy(...) from N/ExList/IntList/DoubleList/...
to keep the code consistent and simple, both for AbacusUtil and the applications written by AbacusUtil.
Stream APIs will the only interfaces to provide these advanced features: map/flatmap/reduce/groupBy.
We may add it back to N/ObjectList/IntList/... later if it's really useful/necessary.
We may add it back to N/ExList/IntList/... later if it's really useful/necessary.

6, Refactoring toXXX(Class,...) to toXXX(...,Supplier) in DataSet/N/ObjectList/IntList/DoubleList/.../Collectors/.
6, Refactoring toXXX(Class,...) to toXXX(...,Supplier) in DataSet/N/ExList/IntList/DoubleList/.../Collectors/.
It's more friendly and beautiful by 'Supplier' for JDK 8 with Lambdas.

7, add boolean forEach2(Function<? super T, Boolean> action) to Stream/ObjectList/N/DataSet/Multiset/MultiMap/...
7, add boolean forEach2(Function<? super T, Boolean> action) to Stream/ExList/N/DataSet/Multiset/MultiMap/...
Below code can be simplified to: return stream.forEach2(e -> action(e));
for (E e : c) {
if (action) {
Expand All @@ -685,7 +693,7 @@

========Changes in 0.9.4=========================================================================

1, Add top(...)/parallelSorted(...) to Stream/IntStream/DoubleStream/.../ObjectList/IntList/DoubleList/....
1, Add top(...)/parallelSorted(...) to Stream/IntStream/DoubleStream/.../ExList/IntList/DoubleList/....

2, Change the specification of kthLargest(...) in stream. Return OptionalXXX if the length of the stream is 0 or less than k.

Expand All @@ -695,7 +703,7 @@

1, Rename methods from asUnmodifiableXXX to asImmutableXXX.

2, Add flatMap3(...) to N/Stream/ObjectList/IntList/DoubleList/...
2, Add flatMap3(...) to N/Stream/ExList/IntList/DoubleList/...

3, bug fix and improvements

Expand All @@ -705,17 +713,17 @@

2, Add zip(...)/zipInParallel to Stream.

3, Add findFirst(Predicate)/findLast(Predicate)/findAny(Predicate) to Stream/IntStream/LongStream/DoubleStream/... and ObjectList/IntList/LongList/DoubleList...
3, Add findFirst(Predicate)/findLast(Predicate)/findAny(Predicate) to Stream/IntStream/LongStream/DoubleStream/... and ExList/IntList/LongList/DoubleList...

4, Remove findFirst()/findLast()/findAny()/findFirstNonNull()/findLastNonNull() from Stream/IntStream/LongStream/DoubleStream/... and ObjectList/IntList/LongList/DoubleList...
4, Remove findFirst()/findLast()/findAny()/findFirstNonNull()/findLastNonNull() from Stream/IntStream/LongStream/DoubleStream/... and ExList/IntList/LongList/DoubleList...

5, Add concatInParalle(...) to Stream.

6, Add iterate(...) to Stream.

7, rename DataSet.sum(...)/average(...) to sumDouble(...)/averageDouble(...). Add sumInt(...)/sumLong(...)/averageInt(...)/averageLong(...)

8, Add sumInt(...)/sumLong(...)/sumDouble(...)/averageInt(...)/averageLong(...)/averageDouble(...) to ObjectList.
8, Add sumInt(...)/sumLong(...)/sumDouble(...)/averageInt(...)/averageLong(...)/averageDouble(...) to ExList.

9, bug fix and improvements.

Expand Down
Binary file modified lib/abacus-util-0.9.55.jar
Binary file not shown.
Binary file modified lib/abacus-util-all-0.9.55.jar
Binary file not shown.
Loading

0 comments on commit 427a760

Please sign in to comment.