Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for lastEntry (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloor() {
        resetWithHole();
        assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloor() {
        resetWithHole();
        assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

        }
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return delegate().lastEntry();
      }
    
      /**
       * A sensible definition of {@link #lastEntry} in terms of the {@code iterator()} of the {@link
       * #entrySet} of {@link #descendingMap}. If you override {@code descendingMap}, you may wish to
       * override {@code lastEntry} 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)
  4. guava/src/com/google/common/collect/ForwardingNavigableMap.java

        }
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return delegate().lastEntry();
      }
    
      /**
       * A sensible definition of {@link #lastEntry} in terms of the {@code iterator()} of the {@link
       * #entrySet} of {@link #descendingMap}. If you override {@code descendingMap}, you may wish to
       * override {@code lastEntry} 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)
  5. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

              }
            }
            return false;
          }
          return true;
        }
    
        @Override
        public void remove() {
          checkState(lastEntry != null);
          LocalCache.this.remove(lastEntry.getKey(), lastEntry.getValue());
          lastEntry = null;
        }
      }
    
      /** KeyIterator build on top of EntryIterator. */
      final class KeyIterator implements Iterator<K> {
        private EntryIterator iterator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          }
          if (succ == null) {
            lastEntry = pred;
          } else {
            succ.predecessorInValueSet = pred;
          }
        }
    
        private void deleteFromValueSet(ValueEntry<K, V> entry) {
          succeedsInValueSet(entry.predecessorInValueSet, entry.successorInValueSet);
        }
    
        private void appendToValueSet(ValueEntry<K, V> newEntry) {
          succeedsInValueSet(lastEntry, newEntry);
          lastEntry = newEntry;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. 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);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  8. 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.
           */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        public @Nullable Entry<K, Collection<V>> lastEntry() {
          Entry<K, Collection<V>> entry = sortedMap().lastEntry();
          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        public @Nullable Entry<K, Collection<V>> pollFirstEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
Back to top