Added forEachIndexed

This commit is contained in:
2022-12-15 20:08:33 +01:00
parent 5650c6e69b
commit 3f6e7fbb88
4 changed files with 25 additions and 4 deletions
+1
View File
@@ -6,6 +6,7 @@
- Added: ToArray function into Iterable which uses ISizeProvider to reduce overhead of duplicating arrays.
- Added: Functions that have the same type, Int2IntFunction as example, have now a identity function.
- Added: Functions of a BooleanValue have now alwaysTrue/False function.
- Added: ForEachIndexed for Lists only for now. (Might get added to others too if necessary)
- Fixed: putIfAbsent now replaces defaultValues
- Fixed: OpenHashSet/Map and their Custom Variants no longer rely on List implementations.
- Fixed: ObjectCopyOnWriteList.of did create a ObjectArrayList instead of the CopyOnWrite variant.