Lines Matching refs:iterator
79 J.join(ITERABLE_NULL.iterator());
84 J.join(ITERABLE_1_NULL_2.iterator());
128 assertEquals("", joiner.join(set.iterator()));
152 joiner.appendTo(NASTY_APPENDABLE, set.iterator());
181 assertEquals(expected, joiner.join(parts.iterator()));
188 joiner.appendTo(sb1FromIterator, parts.iterator());
232 Lists.newArrayList(new IterableIterator().iterator()).toArray(new Integer[0]);
306 assertEquals("", j.join(ImmutableMultimap.of().entries().iterator()));
308 assertEquals(":", j.join(ImmutableMultimap.of("", "").entries().iterator()));
310 assertEquals("1:a;1:b", j.join(ImmutableMultimap.of("1", "a", "1", "b").entries().iterator()));
324 j.join(entriesWithNulls.iterator());
330 assertEquals("a:00;00:b", j.useForNull("00").join(entriesWithNulls.iterator()));
337 j.appendTo(sb2, ImmutableMultimap.of(1, 2, 3, 4, 5, 6, 1, 3, 5, 10).entries().iterator());
372 private final Iterator<Integer> iterator;
374 this.iterator = iterator();
376 @Override public Iterator<Integer> iterator() {
377 return INTEGERS.iterator();
380 return iterator.hasNext();
383 return iterator.next();
386 iterator.remove();