- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for forEachRemaining (0.09 sec)
-
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
List<E> targetElements = new ArrayList<>(); Iterator<E> iterator = newTargetIterator(); for (int j = 0; j < i; j++) { targetElements.add(iterator.next()); } iterator.forEachRemaining(targetElements::add); if (knownOrder == KnownOrder.KNOWN_ORDER) { assertEquals(expectedElements, targetElements); } else { assertEqualIgnoringOrder(expectedElements, targetElements);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
long size = spliterator.getExactSizeIfKnown(); if (size > 0) { // known *and* nonempty ensureRoomFor(Ints.saturatedCast(size)); } spliterator.forEachRemaining((IntConsumer) this::add); return this; } /** * Appends {@code values}, in order, to the end of the values the built {@link * ImmutableIntArray} will contain. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
long size = spliterator.getExactSizeIfKnown(); if (size > 0) { // known *and* nonempty ensureRoomFor(Ints.saturatedCast(size)); } spliterator.forEachRemaining((DoubleConsumer) this::add); return this; } /** * Appends {@code values}, in order, to the end of the values the built {@link * ImmutableDoubleArray} will contain. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 23K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
forEachEntry(action); } }; } void forEachEntry(Consumer<? super Entry<K, V>> action) { entryIterator().forEachRemaining(action); } @Override public void clear() { Iterators.clear(entryIterator()); } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0)