Updated Changelog.

This commit is contained in:
Speiger 2022-04-14 06:06:35 +02:00
parent b3264748cd
commit fc5d43e14b
2 changed files with 16 additions and 1 deletions

View File

@ -3,7 +3,12 @@
### Version 0.6.0 ### Version 0.6.0
- Added: addOrGet for sets. - Added: addOrGet for sets.
- Added: Async API which allows to easily execute Iterables/Collections offthread without the complexity. - Added: Async API which allows to easily execute Iterables/Collections offthread without the complexity.
- Added: ConcurrentArrayLists and tests for it - Added: CopyOnWriteArrayList and tests for it
- Added: Support up to Java17.
- Added: Build System now adds module-info if the Running JVM is 9 or higher
- Added: ArrayList.of(Class, size) that allows you to allocate a size right at the creation of the List without having to create a wrapper array.
- Added: A ConcurrentHashMap implementation.
- Fixed: containsValue in the HashMap wouldn't check the nullKey
### Version 0.5.3 ### Version 0.5.3
- Added: OrderedMap/Set - Added: OrderedMap/Set

View File

@ -102,6 +102,16 @@ public class ASYNC_BUILDER KEY_GENERIC_TYPE
this.task = task; this.task = task;
} }
/**
* Helper function that automatically wraps a Iterable into a AsyncBuilder since it forces this collections Iterable.
* @param iterable that should be wrapped
* @Type(T)
* @return a AsyncBuilder with the iterable wrapped
*/
public static GENERIC_KEY_BRACES ASYNC_BUILDER KEY_GENERIC_TYPE of(Iterable<CLASS_TYPE> iterable) {
return new ASYNC_BUILDERBRACES(ITERABLES.wrap(iterable));
}
/** /**
* Maps the elements to something else * Maps the elements to something else
* @param mapper the mapping function * @param mapper the mapping function