Breaking update

- Added: Optionals for the missing JDK ones.
- Removed: Default values for Reduce and FindFirst. Using Optionals
instead.
This commit is contained in:
Speiger committed 2026-05-11 18:00:00 +02:00
1 parent c6f656ee66
commit 3d39d5526d
34 files changed
+597 -297

No files matched your search

@@ -96,7 +96,7 @@ public abstract class BaseIntIterableTest
public void testStreamFindFirst() {
if(getValidIterableTests().contains(IterableTest.STREAM_FIND_FIRST)) {
int expected = IntStream.of(TEST_ARRAY).filter(T -> T / 50 > 0).findFirst().getAsInt();
int actual = create(TEST_ARRAY).findFirst(T -> T / 50 > 0);
int actual = create(TEST_ARRAY).findFirst(T -> T / 50 > 0).getAsInt();
Assert.assertEquals(expected, actual);
}
}