Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for lastEntry (0.07 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

          long lastEntry = entries[srcIndex];
          entries[dstIndex] = lastEntry;
          entries[srcIndex] = UNSET;
    
          // also need to update whoever's "next" pointer was pointing to the last entry place
          // reusing "tableIndex" and "next"; these variables were no longer needed
          int tableIndex = getHash(lastEntry) & hashTableMask();
          int lastNext = table[tableIndex];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

        // entry object per key.
        private ValueSetLink<K, V> firstEntry;
        private ValueSetLink<K, V> lastEntry;
    
        ValueSet(@ParametricNullness K key, int expectedValues) {
          this.key = key;
          this.firstEntry = this;
          this.lastEntry = this;
          // Round expected values up to a power of 2 to get the table size.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

      }
    
      @Override
      @CheckForNull
      public Entry<E> firstEntry() {
        return isEmpty() ? null : getEntry(0);
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return isEmpty() ? null : getEntry(length - 1);
      }
    
      @Override
      public int count(@CheckForNull Object element) {
        int index = elementSet.indexOf(element);
        return (index >= 0) ? getCount(index) : 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

      @CheckForNull
      public Entry<K, V> lowerEntry(K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public K lowerKey(K key) {
        return keyOrNull(lowerEntry(key));
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public K floorKey(K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top