Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for NoSuchElementException (0.21 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/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: Thu Oct 17 19:10:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/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: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

    import com.google.caliper.Param;
    import com.google.caliper.api.SkipThisScenarioException;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.LinkedList;
    import java.util.NoSuchElementException;
    import java.util.function.Supplier;
    import java.util.stream.Stream;
    
    /**
     * Test stream operation speed.
     *
     * @author Louis Wasserman
     */
    public class StreamsBenchmark {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top