Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 40 for lastEntry (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

      public @Nullable Entry<E> firstEntry() {
        Iterator<Entry<E>> entryIterator = entryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        Iterator<Entry<E>> entryIterator = descendingEntryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/TreeRangeMap.java

        Entry<Cut<K>, RangeMapEntry<K, V>> lastEntry = entriesByLowerBound.lastEntry();
        // Either both are null or neither is, but we check both to satisfy the nullness checker.
        if (firstEntry == null || lastEntry == null) {
          throw new NoSuchElementException();
        }
        return Range.create(
            firstEntry.getValue().getKey().lowerBound, lastEntry.getValue().getKey().upperBound);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/SortedMultiset.java

       * empty.
       */
      @Nullable Entry<E> firstEntry();
    
      /**
       * Returns the entry of the last element in this multiset, or {@code null} if this multiset is
       * empty.
       */
      @Nullable Entry<E> lastEntry();
    
      /**
       * Returns and removes the entry associated with the lowest element in this multiset, or returns
       * {@code null} if this multiset is empty.
       */
      @Nullable Entry<E> pollFirstEntry();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/SortedMultiset.java

       * empty.
       */
      @Nullable Entry<E> firstEntry();
    
      /**
       * Returns the entry of the last element in this multiset, or {@code null} if this multiset is
       * empty.
       */
      @Nullable Entry<E> lastEntry();
    
      /**
       * Returns and removes the entry associated with the lowest element in this multiset, or returns
       * {@code null} if this multiset is empty.
       */
      @Nullable Entry<E> pollFirstEntry();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return delegate.isEmpty();
      }
    
      @Override
      public NavigableSet<K> keySet() {
        return navigableKeySet();
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return delegate.lastEntry();
      }
    
      @Override
      public K lastKey() {
        return delegate.lastKey();
      }
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(K key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return new StandardElementSet();
        }
    
        @Override
        public Entry<E> firstEntry() {
          return standardFirstEntry();
        }
    
        @Override
        public Entry<E> lastEntry() {
          return standardLastEntry();
        }
    
        @Override
        public Entry<E> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
        public Entry<E> pollLastEntry() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return new StandardElementSet();
        }
    
        @Override
        public Entry<E> firstEntry() {
          return standardFirstEntry();
        }
    
        @Override
        public Entry<E> lastEntry() {
          return standardLastEntry();
        }
    
        @Override
        public Entry<E> pollFirstEntry() {
          return standardPollFirstEntry();
        }
    
        @Override
        public Entry<E> pollLastEntry() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return delegate.isEmpty();
      }
    
      @Override
      public NavigableSet<K> keySet() {
        return navigableKeySet();
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return delegate.lastEntry();
      }
    
      @Override
      public K lastKey() {
        return delegate.lastKey();
      }
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(K key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/TreeRangeSet.java

            : null;
      }
    
      @Override
      public Range<C> span() {
        Entry<Cut<C>, Range<C>> firstEntry = rangesByLowerBound.firstEntry();
        Entry<Cut<C>, Range<C>> lastEntry = rangesByLowerBound.lastEntry();
        if (firstEntry == null || lastEntry == null) {
          /*
           * Either both are null or neither is: Either the set is empty, or it's not. But we check both
           * to make the nullness checker happy.
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

      @Override
      public @Nullable Entry<K, V> lowerEntry(K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      public @Nullable K lowerKey(K key) {
        return keyOrNull(lowerEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      public @Nullable K floorKey(K key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
Back to Top