From a05689017eeb51b89dcc76c2e64476c11a186598 Mon Sep 17 00:00:00 2001 From: Speiger Date: Wed, 6 Oct 2021 20:33:11 +0200 Subject: [PATCH] Update information --- Changelog.md | 5 +++++ README.md | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index 5e8a542..fe065ba 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,10 @@ # Changelog of versions +### Version 0.4.2 +- Added: Lists/Sets/Maps/PriorityQueues are now copy-able. with the new copy() function. + Note: subLists/subMaps/subSets or synchronize/unmodifyable wrappers do not support that function. +- Fixed: PriorityQueues didn't implement: hashCode/equals/toString + ### Version 0.4.1 - Changed: ForEach with input now provides input, value instead of value, input, this improves the usage of method references greatly - Added: addAll with Array-types in collections. diff --git a/README.md b/README.md index 512783d..22e9569 100644 --- a/README.md +++ b/README.md @@ -23,15 +23,17 @@ But its focus is a different one. New Specialized functions that were added to increase performance or reduce allocations or Quality Of life. To highlight things that may be wanted. - Iterable: - - map/flatMap/arrayFlatMap: A Light weight version of Stream.map() + - map/flatMap/arrayFlatMap: A Light weight version of Stream.map(). - findFirst: Allows to find the first element of a Predicated Iterable. - filter: Allows to filter unwanted elements for wrapped Iterable - matchAny/matchNone/matchAll: Allows to find elements in a collection. - - count: counts all valid elements in a collection + - count: counts all valid elements in a collection. - forEach: Allows to input a second element into a forEach move allowing for more flexibility for Method References - Collection: - containsAny: Allows to test if another collection contains an of the elements of the tested collection. - primitiveStream: Provides access to the closest Java Stream Type. + - copy: shallowCopies the collection, used instead of clone because this is better to use. + (subCollections/synchronized/unmodifiable not supported for obvious reasons) - List: - add/get/removeElements (From FastUtil): Allows to add/get/remove an Array into/from a list. Just with less overhead - extractElements: Allows to remove a Range of elements from the List and get what was removed.