Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 105 for modification (0.22 sec)

  1. guava/src/com/google/common/cache/RemovalListeners.java

          RemovalListener<K, V> listener, Executor executor) {
        checkNotNull(listener);
        checkNotNull(executor);
        return (RemovalNotification<K, V> notification) ->
            executor.execute(() -> listener.onRemoval(notification));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 16:02:17 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RangeMap.java

       * call to {@code remove(range)}, {@code get(k)} will return {@code null}.
       */
      void remove(Range<K> range);
    
      /**
       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/RemovalNotification.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.AbstractMap.SimpleImmutableEntry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A notification of the removal of a single entry. The key and/or value may be null if they were
     * already garbage collected.
     *
     * <p>Like other {@code Entry} instances associated with {@code CacheBuilder}, this class holds
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 20:46:24 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

                  }
                  i++;
                  /*
                   * The cast is safe because of the containsKey check in hasNext(). (That means it's
                   * unsafe under concurrent modification, but all bets are off then, anyway.)
                   */
                  return uncheckedCastNullableTToT(map.get(key));
                }
    
                @Override
                public void remove() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multimaps.java

                  }
                  i++;
                  /*
                   * The cast is safe because of the containsKey check in hasNext(). (That means it's
                   * unsafe under concurrent modification, but all bets are off then, anyway.)
                   */
                  return uncheckedCastNullableTToT(map.get(key));
                }
    
                @Override
                public void remove() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/Cache.java

       * all values is returned.
       *
       */
      CacheStats stats();
    
      /**
       * Returns a view of the entries stored in this cache as a thread-safe map. Modifications made to
       * the map directly affect the cache.
       *
       * <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
        RemovalNotification<Object, Object> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(computed, notification.getValue());
        assertSame(RemovalCause.SIZE, notification.getCause());
        assertTrue(listener.isEmpty());
        checkEmpty(cache);
      }
    
      public void testGet_expireAfterWrite() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/NullCacheTest.java

        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
        RemovalNotification<Object, Object> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(computed, notification.getValue());
        assertSame(RemovalCause.SIZE, notification.getCause());
        assertTrue(listener.isEmpty());
        checkEmpty(cache);
      }
    
      public void testGet_expireAfterWrite() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. LICENSE

              as modifying the License.
    
          You may add Your own copyright statement to Your modifications and
          may provide additional or different license terms and conditions
          for use, reproduction, or distribution of Your modifications, or
          for any such Derivative Works as a whole, provided Your use,
          reproduction, and distribution of the Work otherwise complies with
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 22 18:59:39 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

       * elements.length) are all {@code null}.
       */
      @VisibleForTesting @CheckForNull transient @Nullable Object[] elements;
    
      /**
       * Keeps track of metadata like the number of hash table bits and modifications of this data
       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
       * that we choose not to make this volatile, so we do less of a "best effort" to track such
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top