Added CompletableFuture Support and fixed a small bug in a test

This commit is contained in:
2026-08-10 19:38:35 +02:00
parent 180b603ffd
commit d140aaa788
3 changed files with 1110 additions and 1087 deletions
File diff suppressed because it is too large Load Diff
@@ -153,9 +153,6 @@ public class COLLECTIONS
/**
* Internal Use mainly. Its a collection wrapper with 0 dependencies for those actions where a collector is needed.
*/
#if !TYPE_OBJECT
@SuppressWarnings("exports")
#endif
public static GENERIC_KEY_BRACES CollectionWrapper KEY_GENERIC_TYPE wrapper() {
return new CollectionWrapperBRACES();
}
@@ -29,7 +29,7 @@ public abstract class BaseInt2IntMapTest
if(!getValidMapTests().contains(MapTests.PUT)) return;
Int2IntMap putMap = createMap(PUT_ARRAY, PUT_VALUE_ARRAY);
Assert.assertEquals(PUT_ARRAY.length, putMap.size());
Assert.assertEquals(0, putMap.put(0, 512));
Assert.assertEquals(putMap.getDefaultReturnValue(), putMap.put(0, 512));
Assert.assertEquals(1, putMap.put(513, 2));
Assert.assertEquals(PUT_ARRAY.length + 1, putMap.size());
Assert.assertEquals(512, putMap.addTo(0, 1));