Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 154 for NoSuchElementException (0.18 sec)

  1. guava/src/com/google/common/collect/ForwardingSortedMap.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Comparator;
    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeBasedTable.java

          updateBackingRowMapField();
          if (backingRowMap == null) {
            throw new NoSuchElementException();
          }
          return ((SortedMap<C, V>) backingRowMap).firstKey();
        }
    
        @Override
        public C lastKey() {
          updateBackingRowMapField();
          if (backingRowMap == null) {
            throw new NoSuchElementException();
          }
          return ((SortedMap<C, V>) backingRowMap).lastKey();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. 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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code iterator} operations on a collection. Can't be invoked
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic implementation of {@code Multiset<E>} backed by an instance of {@code
     * ObjectCountHashMap<E>}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
        static final PermittedMetaException NSEE =
            new PermittedMetaException("NoSuchElementException") {
              @Override
              boolean isPermitted(Exception exception) {
                return exception instanceof NoSuchElementException;
              }
            };
    
        private PermittedMetaException(String message) {
          super(message);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Comparator;
    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertFalse("Expected no more permutations, but there was one.", permutations.hasNext());
        try {
          permutations.next();
          fail("Expected NoSuchElementException.");
        } catch (NoSuchElementException expected) {
        }
      }
    
      private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) {
        assertEquals(expected, permutationSet.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code ImmutableRangeMap}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // NavigableMap
    public class ImmutableRangeMapTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.SerializableTester;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code ImmutableRangeMap}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // NavigableMap
    public class ImmutableRangeMapTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top