Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 149 for NoSuchElementException (0.27 sec)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(-1, iterator.previousIndex());
        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.AbstractMap;
    import java.util.AbstractSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    
    class PropertiesAsMap extends AbstractMap<String, String> {
    
        private final Map<Object, Object> properties;
    
        PropertiesAsMap(Map<Object, Object> properties) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertEquals(0, queue.size());
    
        try {
          queue.element();
          fail();
        } catch (NoSuchElementException expected) {
        }
    
        assertNull(queue.peek());
        assertNull(queue.poll());
        try {
          queue.remove();
          fail();
        } catch (NoSuchElementException expected) {
        }
      }
    
      public void testRemainingCapacity_maxSize0() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. 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;
    
    /**
     * 一つの値を返す{@link Iterator}です。
     *
     * @author koichik
     * @param <E>
     *            要素の型
     */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.NoSuchElementException;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code remove()} operations on a queue. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertEquals(0, queue.size());
    
        try {
          queue.element();
          fail();
        } catch (NoSuchElementException expected) {
        }
    
        assertNull(queue.peek());
        assertNull(queue.poll());
        try {
          queue.remove();
          fail();
        } catch (NoSuchElementException expected) {
        }
      }
    
      public void testRemainingCapacity_maxSize0() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  7. 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)
  8. guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Base class for {@link RangeSet} tests.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // TreeRangeSet
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * クラスローダの階層を親クラスローダに向かって反復する{@link Iterator}です。
     * <p>
     * 次のように使います.
     * </p>
     *
     * <pre>
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.GcFinalization;
    import java.lang.ref.WeakReference;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@code AbstractIterator}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top