- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for NoSuchElementException (0.24 sec)
-
src/main/java/org/codelibs/core/collection/SLinkedList.java
*/ public E getFirst() { if (isEmpty()) { throw new NoSuchElementException(); } return getFirstEntry().element; } /** * Returns the last element. * * @return the last element */ public E getLast() { if (isEmpty()) { throw new NoSuchElementException(); } return getLastEntry().element; } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
* * <p>The default implementation throws {@code NoSuchElementException}. * * @return the minimum value of type {@code C}; never null * @throws NoSuchElementException if the type has no (practical) minimum value; for example, * {@link java.math.BigInteger} */ @CanIgnoreReturnValue public C minValue() { throw new NoSuchElementException(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
* * <p>The default implementation throws {@code NoSuchElementException}. * * @return the minimum value of type {@code C}; never null * @throws NoSuchElementException if the type has no (practical) minimum value; for example, * {@link java.math.BigInteger} */ @CanIgnoreReturnValue public C minValue() { throw new NoSuchElementException(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (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();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 22.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Unit test for IteratorTester. * * @author Mick Killianey */ @GwtCompatible @SuppressWarnings("serial") // No serialization is used in this test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
import com.google.errorprone.annotations.InlineMe; import java.util.Collection; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import java.util.Queue; import java.util.RandomAccess; import java.util.Set; import java.util.SortedSet; import java.util.stream.Stream; import org.jspecify.annotations.NonNull;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
updateBackingRowMapField(); if (backingRowMap == null) { throw new NoSuchElementException(); } return ((SortedMap<C, V>) backingRowMap).firstKey(); } @Override public C lastKey() { updateBackingRowMapField(); if (backingRowMap == null) { throw new NoSuchElementException(); } return ((SortedMap<C, V>) backingRowMap).lastKey(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
} @Test @DisplayName("next should not throw NoSuchElementException") void testNextDoesNotThrowException() { // When & Then assertDoesNotThrow(() -> { emptyIterator.next(); emptyIterator.next(); emptyIterator.next(); }, "next() should not throw NoSuchElementException"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.NavigableSet; import java.util.NoSuchElementException; import java.util.Set; import java.util.SortedSet; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (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()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 20.7K bytes - Viewed (0)