Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 154 of 154 for NoSuchElementException (0.12 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

        public K firstKey() {
          // correctly throws NoSuchElementException when filtered map is empty.
          return keySet().iterator().next();
        }
    
        @Override
        @ParametricNullness
        public K lastKey() {
          SortedMap<K, V> headMap = sortedMap();
          while (true) {
            // correctly throws NoSuchElementException when filtered map is empty.
            K key = headMap.lastKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

        public K firstKey() {
          // correctly throws NoSuchElementException when filtered map is empty.
          return keySet().iterator().next();
        }
    
        @Override
        @ParametricNullness
        public K lastKey() {
          SortedMap<K, V> headMap = sortedMap();
          while (true) {
            // correctly throws NoSuchElementException when filtered map is empty.
            K key = headMap.lastKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

    import java.util.AbstractMap;
    import java.util.AbstractQueue;
    import java.util.AbstractSet;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Queue;
    import java.util.Set;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.ConcurrentMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        iterator.next().use {
          assertThat(it.key()).isEqualTo("c")
          it.assertValue(0, "c1")
          it.assertValue(1, "c2")
        }
        assertThat(iterator.hasNext()).isFalse()
        assertFailsWith<NoSuchElementException> {
          iterator.next()
        }
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top