将键值对流的键值对对象从内部类调整为AbstractMap.SimpleImmutableEntry

This commit is contained in:
huangchengxing
2022-09-02 16:14:47 +08:00
parent 43bd15b515
commit 3c5313f0a7
2 changed files with 89 additions and 105 deletions

View File

@@ -116,8 +116,8 @@ public class EntryStreamTest {
Assert.assertEquals(
5,
EntryStream.of(Arrays.asList(1, 2, 3), Function.identity(), Function.identity())
.push(4, 4)
.push(5, 5)
.append(4, 4)
.append(5, 5)
.count()
);