- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 100 for NoSuchElementException (0.31 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/MoreCollectors.java
import static java.util.Collections.emptyList; import com.google.common.annotations.GwtCompatible; import java.util.ArrayList; import java.util.List; import java.util.NoSuchElementException; import java.util.Optional; import java.util.stream.Collector; import org.jspecify.annotations.Nullable; /** * Collectors not present in {@code java.util.stream.Collectors} that are not otherwise associatedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java
.put(IncomparableValueException.class, e -> e instanceof IncomparableValueException) .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.util.NoSuchElementException; import org.jspecify.annotations.Nullable; /** * This class provides a skeletal implementation of the {@code Iterator} interface for sequencesCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0) -
guava/src/com/google/common/base/AbstractIterator.java
import static com.google.common.base.Preconditions.checkState; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Iterator; import java.util.NoSuchElementException; import org.jspecify.annotations.Nullable; /** * Note this class is a copy of {@link com.google.common.collect.AbstractIterator} (for dependency * reasons). */ @GwtCompatibleCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertFalse(iterator.hasPrevious()); assertEquals(0, iterator.nextIndex()); assertEquals(-1, iterator.previousIndex()); assertThrows(NoSuchElementException.class, () -> iterator.next()); assertThrows(NoSuchElementException.class, () -> iterator.previous()); assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 56.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import java.util.NoSuchElementException; import org.junit.Ignore; /** * A generic JUnit test which tests {@code remove()} operations on a queue. Can't be invoked * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
package com.google.common.collect; import static com.google.common.truth.Truth.assertThat; import com.google.common.annotations.GwtIncompatible; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Base class for {@link RangeSet} tests. * * @author Louis Wasserman */ @GwtIncompatible // TreeRangeSetCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ContiguousSet.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.DoNotCall; import java.util.Collections; import java.util.NoSuchElementException; import java.util.Set; /** * A sorted set of contiguous values in a given {@link DiscreteDomain}. Example: * * {@snippet : * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers()) * }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
dns.assertRequests(uriHost) assertThat(selection.hasNext()).isFalse() assertFailsWith<NoSuchElementException> { selection.next() } assertThat(routeSelector.hasNext()).isFalse() assertFailsWith<NoSuchElementException> { routeSelector.next() } } @Test fun singleRouteReturnsFailedRoute() { val address = factory.newAddress()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 20.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
throw new NoSuchElementException(); } } Cut<K> upperBound; Entry<Cut<K>, RangeMapEntry<K, V>> upperEntry = entriesByLowerBound.lowerEntry(subRange.upperBound); if (upperEntry == null) { throw new NoSuchElementException();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0)