- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for forEachRemaining (1.29 sec)
-
guava/src/com/google/common/collect/CollectSpliterators.java
} @Override public final void forEachRemaining(OutConsumerT action) { if (prefix != null) { prefix.forEachRemaining(action); prefix = null; } from.forEachRemaining( fromElement -> { OutSpliteratorT elements = function.apply(fromElement); if (elements != null) { elements.forEachRemaining(action); } });
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 22 18:19:31 UTC 2024 - 19.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
extends GeneralSpliterator<E> { GeneralSpliteratorOfObject(Spliterator<E> spliterator) { super(spliterator); } @Override void forEachRemaining(Consumer<? super E> action) { spliterator.forEachRemaining(action); } @Override boolean tryAdvance(Consumer<? super E> action) { return spliterator.tryAdvance(action); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 22 18:19:31 UTC 2024 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingIterator.java
* href="https://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html">before {@code default} * methods were introduced</a>. For newer methods, like {@code forEachRemaining}, it inherits their * default implementations. When those implementations invoke methods, they invoke methods on the * {@code ForwardingIterator}. * * @author Kevin Bourrillion * @since 2.0 */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingIterator.java
* href="https://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html">before {@code default} * methods were introduced</a>. For newer methods, like {@code forEachRemaining}, it inherits their * default implementations. When those implementations invoke methods, they invoke methods on the * {@code ForwardingIterator}. * * @author Kevin Bourrillion * @since 2.0 */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingListIterator.java
* href="https://docs.oracle.com/javase/7/docs/api/java/util/ListIterator.html">before {@code * default} methods were introduced</a>. For newer methods, like {@code forEachRemaining}, it * inherits their default implementations. When those implementations invoke methods, they invoke * methods on the {@code ForwardingListIterator}. * * @author Mike Bostock * @since 2.0 */ @GwtCompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingListIterator.java
* href="https://docs.oracle.com/javase/7/docs/api/java/util/ListIterator.html">before {@code * default} methods were introduced</a>. For newer methods, like {@code forEachRemaining}, it * inherits their default implementations. When those implementations invoke methods, they invoke * methods on the {@code ForwardingListIterator}. * * @author Mike Bostock * @since 2.0 */ @GwtCompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
for (Entry<String, Integer> entry : expectedEntries) { multimap.put(entry.getKey(), entry.getValue()); } List<String> actualKeys = new ArrayList<>(); multimap.keys().spliterator().forEachRemaining(actualKeys::add); assertThat(actualKeys) .containsExactlyElementsIn(Lists.transform(expectedEntries, Entry::getKey)) .inOrder(); } public void testEntriesSpliterator() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 18.6K bytes - Viewed (0) -
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 16:34:24 UTC 2023 - 21.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableLongArray.java
long size = spliterator.getExactSizeIfKnown(); if (size > 0) { // known *and* nonempty ensureRoomFor(Ints.saturatedCast(size)); } spliterator.forEachRemaining((LongConsumer) this::add); return this; } /** * Appends {@code values}, in order, to the end of the values the built {@link * ImmutableLongArray} will contain. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 16:34:24 UTC 2023 - 21K bytes - Viewed (0) -
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 16:34:24 UTC 2023 - 20.9K bytes - Viewed (0)