- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testForEach (0.03 sec)
-
src/test/java/org/codelibs/core/io/LineIteratorTest.java
assertThat(it.next(), is("ccc")); assertThat(it.hasNext(), is(not(true))); } /** * @throws Exception */ @Test public void testForEach() throws Exception { final StringReader reader = new StringReader("aaa\nbbb\nccc\n"); for (final String line : LineIterator.iterable(reader)) { System.out.println(line); } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
assertThat(indexed3.getElement(), is("ccc")); assertThat(it.hasNext(), is(not(true))); } /** * @throws Exception */ @Test public void testForEach() throws Exception { final List<String> list = newArrayList(); list.add("aaa"); list.add("bbb"); list.add("ccc"); for (final Indexed<String> indexed : indexed(list)) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0)