Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for lastEntry (0.07 seconds)

  1. 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)
  2. android/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
    - 54.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().higherKey(key);
          }
        }
    
        @Override
        public Map.@Nullable Entry<K, V> lastEntry() {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().lastEntry(), mutex);
          }
        }
    
        @Override
        public Map.@Nullable Entry<K, V> lowerEntry(K key) {
          synchronized (mutex) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().higherKey(key);
          }
        }
    
        @Override
        public Map.@Nullable Entry<K, V> lastEntry() {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().lastEntry(), mutex);
          }
        }
    
        @Override
        public Map.@Nullable Entry<K, V> lowerEntry(K key) {
          synchronized (mutex) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param map the sequenced map
         * @return the last entry, or null if the map is empty
         * @since Java 21
         */
        public static <K, V> Map.Entry<K, V> lastEntry(final SequencedMap<K, V> map) {
            return map.isEmpty() ? null : map.lastEntry();
        }
    
        /**
         * Returns a reversed view of a sequenced map.
         *
         * @param <K> the key type
         * @param <V> the value type
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

        {
          Entry<Integer, String> entry = unmod.firstEntry();
          assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four"));
        }
        {
          Entry<Integer, String> entry = unmod.lastEntry();
          assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four"));
        }
        {
          @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
Back to Top