2021-06-23 18:38:23 +02:00
# Changelog of versions
2021-12-13 10:41:20 +01:00
### Version 0.5.1
- Fixed: Reworked the NavigableSet/Map implementations of RBTree/AVLTree/Array Sets/Maps so they are now deemed stable.
- Added: Another 150k Unit tests.
2021-12-09 09:14:55 +01:00
### Version 0.5.0
2021-11-30 16:20:08 +01:00
- Added: 2 Helper functions to find out how many bits are required to store a Number.
2021-12-09 09:14:55 +01:00
- Added: pour function directly into Iterable which allows to collect all elements in the Iterable directly.
- Added: The new ToArray method from Java9 and newer into the library. Using a functional interface. (Just a backport)
- Changed: Reworked how the Map Builder functions are created. They are now in a SubClass that moves them out of the way. Less Clutter. (This might break things if that was used before)
- Added: Map Builder that allows now to Build Maps like Guava ImmutableMaps can be build. Note: This has a slight performance overhead.
- Added: Unmodifiable and Synchronize wrapper functions direclty into Collection Interfaces. This is mostly a quality of life thing.
- Added: Unmodifiable and Synchronized Wrapper Collections can now be cloned. They clone the underlying map which doesn't break functionality. (Had a usecase for it)
- Added: A boxed putAll array variant.
- Fixed: EnumMaps didn't keep track of their size and now got proper care and implementations as needed. There might be more work required but at least the core functionality is now up to date.
2021-12-10 03:23:28 +01:00
- Added: Tests for the new Stream replace functions to ensure no bugs are left.
- Fixed: Custom HashSet reduce function with a default value was checking incorrectly for present keys.
2021-12-10 05:54:37 +01:00
- Added: Guava TestSuit
- Fixed: HashCode and toString method would crash if the Object Key/Value was null
- Added: AbstractTypeCollection now delegates the contains check to type-specific Collections if it detects it.
- Fixed: Map.Entry toString wasn't writing values not like it should do.
- Fixed: Set.hashCode now is the sum of the elements instead of a Unique HashCode based on the elements.
- Fixed: Added missing NonNull Checks.
2021-12-10 10:55:16 +01:00
- Fixed: Custom/OpenHashMap.containsValue implementation was wrong.
- Fixed: Custom/OpenHashMap.compute/present/absent now works how it is specified in the Java Documentation
- Fixed: Custom/OpenHashMap.merge/BulkMerge now works how it is specified in the Java Documentation
- Fixed: Custom/Linked/OpenHashMap.keySet.remove was causing a infinite loop.
- Fixed: Custom/Linked/OpenHashMap.entrySet.contains was not correctly comparing the entry.
- Fixed: Custom/OpenHashMap.mapIterator now no longer crashes in certain cases.
- Added: Custom/LinkedOpenHashMap now takes use of the improved Iterator it has for containsValue
- Fixed: CustomOpenHashMap.keySet.forEach was basically putting out keys even if they were present
- Fixed: ImmutableMaps issues thanks to the tests. Roughly the same as the rest of the maps
- Fixed: RB/AVLTreeMaps issues. Roughly the same as the rest of the maps
2021-12-11 12:53:58 +01:00
- Fixed: SubLists are now properly implemented.
- Fixed: HashSet Iterator bugs now fixed... That was Painful.
- Added: Tests for Lists and Sets
2021-11-30 16:20:08 +01:00
2021-10-24 01:11:11 +02:00
### Version 0.4.5
- Added: removeAll/retainAll(Collection c, Consumer r) which receives all the elements that got deleted from the collection
2021-10-27 14:09:19 +02:00
- Fixed: Supplier get function wasn't referencing original function.
- Added: addIfPresent/Absent to lists
- Added: distinct, limit and peek iterators
- Added: Iterable's can now reduce its contents
2021-10-30 07:39:05 +02:00
- Added: Better ForEach support for IterableWrappers so a Iterator chain is not created
- Added: SwapRemove to Lists which moves the last element into the desired space to be deleted
- Added: More Test cases
2021-10-24 01:11:11 +02:00
2021-10-11 19:05:54 +02:00
### Version 0.4.4
- Fixed: ObjectArrayList.of was causing crashes because of a Poor implementation.
- Added: Unsorted HashMaps/Sets now throw Concurrent exceptions if they were modified during a rehash.
- Added: Array/Collection version of enqueue and enqueueFirst to PriorityQueues.
- Added: fillBuffer function into PrimitiveLists which allow to optimize JavaNio buffers if needed.
2021-10-07 14:50:52 +02:00
### Version 0.4.3
- Added: Wrapper now support the Optimized Lambda replacer functions to improve performance.
- Added: FIFO Queue has now a minimum capacity and that is now checked more consistently.
2021-10-06 20:33:11 +02:00
### 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
2021-09-28 12:06:51 +02:00
### Version 0.4.1
2021-09-28 04:43:04 +02:00
- 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.
- Added: Java Iterator/Iterable support for Stream replacing methods
2021-09-28 12:06:51 +02:00
- Added: Suppliers.
2021-09-28 13:23:41 +02:00
- Added: SupplyIfAbsent. It is ComputeIfAbsent but using suppliers
2021-09-28 13:20:05 +02:00
- Added: Count feature into Iterable
2021-09-28 13:23:41 +02:00
- Fixed: A couple bugs with the new StreamReplacing functions in LinkedCollections Iterating to Infinity
2021-06-23 18:38:23 +02:00
2021-09-20 01:41:24 +02:00
### Version 0.4.0
2021-09-15 05:09:14 +02:00
- Changed: Iterable specific helper functions were moved out of Iterators and moved into Iterables
- Added: New Stream replacing functions: findFirst, matchesAny/All/None
2021-09-15 05:44:19 +02:00
- Fixed: Compute/ComputeIfAbsent/ComputeIfPresent/Merge/BulkMerge in maps now behave like they should.
2021-09-16 02:58:50 +02:00
- Added: Implementations for New Stream replacing functions.
- Changed: Removed a lot of duplicated forEach implementations
2021-09-16 23:56:11 +02:00
- Added: Flat/Mapping functions (to object) are now accessible to primitive maps.
- Added: Filter function to Iterators/Iterables (Iterable implements it by default)
- Changed: Cleanup of some variables/mappers
2021-09-19 17:41:54 +02:00
- Added/Fixed: AVL/RBTreeMap got reworked and SubMaps work more properly now. Also forEach support got improved a lot
2021-09-19 18:03:02 +02:00
- Added/Fixed: TreeSubSets (RB/AVL) got their functional implementations improved too.
2021-09-19 22:34:46 +02:00
- Added: Pairs are now a thing. In Mutable/Immutable Form
2021-09-15 05:09:14 +02:00
2021-09-13 17:09:31 +02:00
### Version 0.3.6
- Fixed: addAll non Type Specific Lists was causing crashes.
- Fixed/Changed: clearAndTrim's implementation was all over the place. In some cases causing crash scenarios.
- Fixed: Wrappers didn't implement toString/equals/hashCode
- Added: Tests for addAll Bug
- Changed: Cleaned up CodeStyle as bugs were fixed.
2021-08-15 18:09:34 +02:00
2021-08-27 07:45:41 +02:00
### Version 0.3.5
- Fixed: Simple Code Generator dependency was declared wrong. Its only needed for runtime. Not for Compilation.
2021-09-02 13:38:25 +02:00
- Fixed: ObjectLists Crashed when a null was provided as a Comparator. (Unless the List was Initialized with the ClassType)
- Fixed: LinkedLists didn't implement add(Object)
- Fixed: Object Collections did have the JavaCollections deprecated as the Constructor. This should only be deprecated for Primitives
- Added: Tests with 5k Random names for Object sorting.
- Changed: Object Arrays no longer require a Comparable[] it just assumes now that the elements in the Array are Comparable
2021-09-02 13:40:33 +02:00
- Fixed: Dependency to SimpleCodeGenerator should be no longer a thing. Because the resulting library doesn't need it only the builder does.
2021-08-27 07:45:41 +02:00
2021-08-15 18:09:34 +02:00
### Version 0.3.4
- Fixed: ArrayLists didn't resize properly if they were empty.
2021-07-21 16:32:30 +02:00
### Version 0.3.3
- Added: Flat/Mapping function for Iterables/Iterators to help avoid streams for cleaner looking code
2021-07-23 22:04:59 +02:00
- Fixed: AVLTrees pollFirst/Last is now keeping orders and is fixed
2021-08-12 14:31:29 +02:00
- Fixed: AbstractCollection bulk adding methods now link to the specialized implementations.
- Fixed: A bug with getElements in ArrayList.
- Fixed: PriorityQueue remove/toArray function were renamed so they fit better with other interfaces. (remove => removeFirst and toArray uses a different genericType)
- Added: LinkedList which is a List/PriorityDequeue/Stack which allows for more optimized use-cases and reduced boxing/unboxing.
- Added: Tests for LinkedList
2021-07-21 16:32:30 +02:00
2021-06-24 20:58:17 +02:00
### Version 0.3.2
- Fixed: Map.put wasn't referring to primitive variants.
2021-06-25 12:28:19 +02:00
- Added: ImmutableList.
- Added: Iterator pour function into a List or Array
- Changed: Arrays Wrap is now accessible to Objects and now is ? extends TYPE instead of TYPE.
2021-06-25 14:22:22 +02:00
- Added: OpenHashSets now implement foreach and have less overhead.
- Added: ImmutableOpenHashSet that is not editable (is linked by default for fast iteration)
2021-06-25 16:37:17 +02:00
- Added: CustomOpenHashSets now implement foreach and have less overhead.
2021-06-25 17:44:48 +02:00
- Added: ImmutableOpenHashMap that is not editable (is linked by default for fast iteration)
2021-06-27 16:02:26 +02:00
- Added: Maps can now be created through the interface.
2021-06-27 17:23:34 +02:00
- Fixed: Lists.addElements(T...elements) was adding elements at the beginning of a list instead of the end.
2021-06-27 21:31:42 +02:00
- Fixed: Bugs with the AVLTreeSet. And marked bugs with AVLTreeX that are still present.
2021-06-24 20:58:17 +02:00
2021-06-24 13:17:48 +02:00
### Version 0.3.1
- Fixed: containsKey & containsValue in HashMaps were deprecated for Object Variants.
- Fixed: HashMap wasn't deleting Keys & Values references when removing a Object
2021-06-24 17:16:36 +02:00
- Fixed: AVLTreeMap didn't balance properly.
2021-06-24 13:17:48 +02:00
- Changed: EnumMap no longer tries to access SharedSecrets since its gone in java11
2021-06-24 17:16:36 +02:00
- Added: HashMaps now implement ITrimmable
- Added: AVLTreeSet didn't balance properly
- Fixed: HashMaps & LinkedMaps weren't clearing references properly.
2021-06-24 13:17:48 +02:00
### Version 0.3.0 (Breaking 0.2.0)
2021-06-23 18:38:23 +02:00
- Added: Stack.isEmpty was missing
2021-06-23 19:07:30 +02:00
- Changed: remove/removeLast/enqueue/enqueueFirst no longer use Type Suffixes
- Removed: Suffixes for unmodifiable & synchronize functions.
2021-06-23 19:22:19 +02:00
- Changed: Primitive Stacks no longer depend on the base Stack class. Because seriously not needed.
2021-06-23 19:34:32 +02:00
- Changed: PriorityQueues no longer extends Object Variant.
2021-06-23 19:58:31 +02:00
- Changed: Maps.get function is no longer using Suffixes unless its absolutely necessary.
- Changed: Maps.remove function is no longer using Suffixes unless its absolutely necessary.
2021-06-23 21:45:12 +02:00
- Changed: ObjectList methods are no longer marked Deprecated even so it was for primitive ones.
- Added: Shuffle & Reverse Methods.
2021-06-23 22:14:08 +02:00
- Added: Concat Iterators.
- Added: PriorityQueues