- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 154 for NoSuchElementException (0.29 sec)
-
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import com.google.common.annotations.GwtCompatible; import java.util.Iterator; import java.util.ListIterator; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Tests for UnmodifiableListIterator. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
import static java.util.Collections.singleton; import com.google.common.annotations.GwtCompatible; import java.util.Collections; import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Unit test for {@link MinimalIterable}. * * @author Kevin Bourrillion */ @GwtCompatible public class MinimalIterableTest extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
* ability to throw the correct exception in the future. */ assertThrows(NoSuchElementException.class, iter::peek); assertThrows(NoSuchElementException.class, iter::peek); assertThrows(NoSuchElementException.class, iter::next); assertThrows(NoSuchElementException.class, iter::peek); } @J2ktIncompatible // weak references, details of GC
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
* ability to throw the correct exception in the future. */ assertThrows(NoSuchElementException.class, iter::peek); assertThrows(NoSuchElementException.class, iter::peek); assertThrows(NoSuchElementException.class, iter::next); assertThrows(NoSuchElementException.class, iter::peek); } @J2ktIncompatible // weak references, details of GC
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 8.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractIndexedListIterator.java
package com.google.common.collect; import static com.google.common.base.Preconditions.checkPositionIndex; import com.google.common.annotations.GwtCompatible; import java.util.ListIterator; import java.util.NoSuchElementException; import org.checkerframework.checker.nullness.qual.Nullable; /** * This class provides a skeletal implementation of the {@link ListIterator} interface across a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals( "next() should still return last element after peeking", "C", peekingIterator.next()); assertThrows(NoSuchElementException.class, () -> peekingIterator.peek()); assertThrows(NoSuchElementException.class, () -> peekingIterator.peek()); assertThrows(NoSuchElementException.class, () -> peekingIterator.next()); } public void testCantRemoveAfterPeek() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractNavigableMap.java
Entry<K, V> entry = firstEntry(); if (entry == null) { throw new NoSuchElementException(); } else { return entry.getKey(); } } @Override @ParametricNullness public K lastKey() { Entry<K, V> entry = lastEntry(); if (entry == null) { throw new NoSuchElementException(); } else { return entry.getKey(); } } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 15 18:11:44 UTC 2023 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingQueue.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.NoSuchElementException; import java.util.Queue; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
.put(IllegalStateException.class, e -> e instanceof IllegalStateException) .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)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
.put(IllegalStateException.class, e -> e instanceof IllegalStateException) .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)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 6.3K bytes - Viewed (0)