Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for NoSuchElementException (0.33 sec)

  1. 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();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. 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();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. 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:
     *
     * <pre>{@code
     * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers())
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Unit test for IteratorTester.
     *
     * @author Mick Killianey
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. android/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:
     *
     * <pre>{@code
     * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Unit test for IteratorTester.
     *
     * @author Mick Killianey
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/SLinkedList.java

         */
        public E getFirst() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            return getFirstEntry().element;
        }
    
        /**
         * 最後の要素を返します。
         *
         * @return 最後の要素
         */
        public E getLast() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            return getLastEntry().element;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11K bytes
    - Viewed (1)
  8. okhttp/src/test/java/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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterator<Integer> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        try {
          iterator.next();
          fail("next() on empty iterator should throw NoSuchElementException");
        } catch (NoSuchElementException e) {
          // Huzzah!
        }
      }
    
      public void testMergeSorted_single_empty() {
        // Setup
        Iterable<Integer> iterable0 = ImmutableList.of();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

    import static com.google.common.collect.Maps.keyOrNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Iterator;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top