Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for NoSuchElementException (0.09 sec)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

    import java.io.Serializable;
    import java.util.AbstractMap;
    import java.util.AbstractSet;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.function.BiFunction;
    import java.util.function.Function;
    import java.util.function.Predicate;
    
    /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * An {@link Iterator} that returns a single value.
     *
     * @author koichik
     * @param <E> the element type
     */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayIterator.java

     */
    package org.codelibs.core.collection;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * Adaptor that makes an array into an {@link Iterator}.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/LineIterator.java

    package org.codelibs.core.io;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.BufferedReader;
    import java.io.Reader;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * An {@link Iterator} that iterates over lines read from a {@link BufferedReader}.
     * <p>
     * Usage example:
     * </p>
     *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/ClassIterator.java

    package org.codelibs.core.lang;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgument;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    import org.codelibs.core.message.MessageFormatter;
    
    /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

      EmptyContiguousSet(DiscreteDomain<C> domain) {
        super(domain);
      }
    
      @Override
      public C first() {
        throw new NoSuchElementException();
      }
    
      @Override
      public C last() {
        throw new NoSuchElementException();
      }
    
      @Override
      public int size() {
        return 0;
      }
    
      @Override
      public ContiguousSet<C> intersection(ContiguousSet<C> other) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-testlib/src/com/google/common/collect/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top