Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for firstEntry (0.05 sec)

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

        return keyOrNull(higherEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return delegate().firstEntry();
      }
    
      /**
       * A sensible definition of {@link #firstEntry} in terms of the {@code iterator()} of {@link
       * #entrySet}. If you override {@code entrySet}, you may wish to override {@code firstEntry} to
       * forward to this implementation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingNavigableMap.java

        return keyOrNull(higherEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return delegate().firstEntry();
      }
    
      /**
       * A sensible definition of {@link #firstEntry} in terms of the {@code iterator()} of {@link
       * #entrySet}. If you override {@code entrySet}, you may wish to override {@code firstEntry} to
       * forward to this implementation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        }
        Iterator<Entry<K, V>> iterator = map.entrySet().iterator();
        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        subMap.remove(key);
        assertNull(subMap.remove(firstEntry.getKey()));
        assertEquals(map.size(), oldSize - 1);
        assertFalse(map.containsKey(key));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        }
        Iterator<Entry<K, V>> iterator = map.entrySet().iterator();
        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        subMap.remove(key);
        assertNull(subMap.remove(firstEntry.getKey()));
        assertEquals(map.size(), oldSize - 1);
        assertFalse(map.containsKey(key));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

          result.descendingMultiset = this;
          return descendingMultiset = result;
        }
        return result;
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
        return delegate().firstEntry();
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

        }
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
        return delegate().firstEntry();
      }
    
      /**
       * A sensible definition of {@link #firstEntry()} in terms of {@code entrySet().iterator()}.
       *
       * <p>If you override {@link #entrySet()}, you may wish to override {@link #firstEntry()} to
       * forward to this implementation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        super.resetMap(entries);
        navigableMap = (NavigableMap<K, V>) getMap();
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapFirst() {
        assertNull(navigableMap.firstEntry());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testEmptyMapPollFirst() {
        assertNull(navigableMap.pollFirstEntry());
      }
    
      @CollectionSize.Require(ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        super.resetMap(entries);
        navigableMap = (NavigableMap<K, V>) getMap();
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapFirst() {
        assertNull(navigableMap.firstEntry());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testEmptyMapPollFirst() {
        assertNull(navigableMap.pollFirstEntry());
      }
    
      @CollectionSize.Require(ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          Arrays.fill(hashTable, null);
          size = 0;
          for (ValueEntry<K, V> entry = firstEntry; entry != null; entry = entry.successorInValueSet) {
            multimapIterationChain.delete(entry);
            // TODO(cpovirk): Also clear *InValueSet (after reading next) and nextInValueBucket?
          }
          firstEntry = null;
          lastEntry = null;
          modCount++;
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SortedMultisets.java

        @Override
        public @Nullable E ceiling(@ParametricNullness E e) {
          return getElementOrNull(multiset().tailMultiset(e, CLOSED).firstEntry());
        }
    
        @Override
        public @Nullable E higher(@ParametricNullness E e) {
          return getElementOrNull(multiset().tailMultiset(e, OPEN).firstEntry());
        }
    
        @Override
        public NavigableSet<E> descendingSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top