From 2f31d7b6415a35b58d0f0c60d5fe9797bbe5d38d Mon Sep 17 00:00:00 2001 From: Speiger Date: Sun, 19 Sep 2021 22:34:46 +0200 Subject: [PATCH] Updated Changelog a bit --- Changelog.md | 1 + README.md | 1 + .../assets/collections/templates/misc/pairs/Pair.template | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Changelog.md b/Changelog.md index 950ad30d..8074647e 100644 --- a/Changelog.md +++ b/Changelog.md @@ -12,6 +12,7 @@ - Changed: Cleanup of some variables/mappers - Added/Fixed: AVL/RBTreeMap got reworked and SubMaps work more properly now. Also forEach support got improved a lot - Added/Fixed: TreeSubSets (RB/AVL) got their functional implementations improved too. +- Added: Pairs are now a thing. In Mutable/Immutable Form ### Version 0.3.6 - Fixed: addAll non Type Specific Lists was causing crashes. diff --git a/README.md b/README.md index 86db6e31..275aa7cf 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ But its focus is a different one. - Streams - SplitIterators - Iterators +- Pairs ## Specialized Functions New Specialized functions that were added to increase performance or reduce allocations or Quality Of life. diff --git a/src/builder/resources/speiger/assets/collections/templates/misc/pairs/Pair.template b/src/builder/resources/speiger/assets/collections/templates/misc/pairs/Pair.template index 89c439fa..32a1b77c 100644 --- a/src/builder/resources/speiger/assets/collections/templates/misc/pairs/Pair.template +++ b/src/builder/resources/speiger/assets/collections/templates/misc/pairs/Pair.template @@ -121,7 +121,7 @@ public interface PAIR KEY_VALUE_GENERIC_TYPE /** * Sets the Key of the Pair. * @param key the key that should be set. - * @return self or a new Pair instance with the new key. (Map.Entry may throw error) + * @return self or a new Pair instance with the new key. */ public PAIR KEY_VALUE_GENERIC_TYPE KEY_ENTRY(KEY_TYPE key); /** @@ -132,7 +132,7 @@ public interface PAIR KEY_VALUE_GENERIC_TYPE /** * Sets the Value of the Pair. * @param value the value that should be set. - * @return self or a new Pair instance with the new value. (Map.Entry may throw error) + * @return self or a new Pair instance with the new value. */ public PAIR KEY_VALUE_GENERIC_TYPE VALUE_ENTRY(VALUE_TYPE value); @@ -145,7 +145,7 @@ public interface PAIR KEY_VALUE_GENERIC_TYPE * Sets key and value of the Pair * @param key the key that should be set. * @param value the value that should be set. - * @return self or a new Pair instance with the new key and value. (Map.Entry may throw error) + * @return self or a new Pair instance with the new key and value. */ public PAIR KEY_VALUE_GENERIC_TYPE set(KEY_TYPE key, VALUE_TYPE value);