提交 ad63d151 编写于 作者: H henryjen

8016448: java/util/BitSet/BitSetStreamTest.java no longer compiles, missed by 8015895

Reviewed-by: mduigou
上级 4f4427cd
...@@ -65,10 +65,10 @@ public class BitSetStreamTest { ...@@ -65,10 +65,10 @@ public class BitSetStreamTest {
{ "index 0", IntStream.of(0) }, { "index 0", IntStream.of(0) },
{ "index 255", IntStream.of(255) }, { "index 255", IntStream.of(255) },
{ "every bit", IntStream.range(0, 255) }, { "every bit", IntStream.range(0, 255) },
{ "step 2", IntStream.range(0, 255, 2) }, { "step 2", IntStream.range(0, 255).map(f -> f * 2) },
{ "step 3", IntStream.range(0, 255, 3) }, { "step 3", IntStream.range(0, 255).map(f -> f * 3) },
{ "step 5", IntStream.range(0, 255, 5) }, { "step 5", IntStream.range(0, 255).map(f -> f * 5) },
{ "step 7", IntStream.range(0, 255, 7) }, { "step 7", IntStream.range(0, 255).map(f -> f * 7) },
{ "1, 10, 100, 1000", IntStream.of(1, 10, 100, 1000) }, { "1, 10, 100, 1000", IntStream.of(1, 10, 100, 1000) },
{ "25 fibs", IntStream.generate(new Fibs()).limit(25) } { "25 fibs", IntStream.generate(new Fibs()).limit(25) }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册