Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Removal (0.04 sec)

  1. android/guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Support removal operations when filtering a filtered multimap. Since a filtered multimap has
       * iterators that don't support remove, passing one to the FilteredEntryMultimap constructor would
       * lead to a multimap whose removal operations would fail. This method combines the predicates to
       * avoid that problem.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

       *
       * @return the cache builder reference that should be used instead of {@code this} for any
       *     remaining configuration and cache building
       * @throws IllegalStateException if a removal listener was already set
       */
      public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> removalListener(
          RemovalListener<? super K1, ? super V1> listener) {
        checkState(this.removalListener == null);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        filesystem.setFaultyDelete(cacheDir / "a.0", true)
        taskFaker.runNextTask()
    
        // Confirm we prevent edits after a trim failure.
        assertThat(cache.edit("c")).isNull()
    
        // A successful removal which trims the cache should allow new writes.
        filesystem.setFaultyDelete(cacheDir / "a.0", false)
        cache.remove("a")
        set("c", "cc", "cc")
        assertValue("c", "cc", "cc")
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

     * that it can be marshalled and unmarshalled without being tainted by runtime requirements.
     * </p>
     * <p>
     * With changes during 3.2.2 release MavenProject is closer to being immutable after construction with the removal of
     * all components from this class, and the upfront construction taken care of entirely by the {@link ProjectBuilder}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterators.java

       * iterator's own {@link PeekingIterator#remove()} method) will leave the iterator in an undefined
       * state.
       *
       * <p>The returned iterator does not support removal after peeking, as explained by {@link
       * PeekingIterator#remove()}.
       *
       * <p>Note: If the given iterator is already a {@code PeekingIterator}, it <i>might</i> be
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

       *
       * @return the cache builder reference that should be used instead of {@code this} for any
       *     remaining configuration and cache building
       * @throws IllegalStateException if a removal listener was already set
       */
      public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> removalListener(
          RemovalListener<? super K1, ? super V1> listener) {
        checkState(this.removalListener == null);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        // TODO(dpb): Better toString, in the style of Futures.transform etc.
        return toStringHelper(this).add("state", state.get()).addValue(future).toString();
      }
    
      @SuppressWarnings({"removal", "Finalize"}) // b/260137033
      @Override
      protected void finalize() {
        if (state.get().equals(OPEN)) {
          logger.get().log(SEVERE, "Uh oh! An open ClosingFuture has leaked and will close: {0}", this);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * higher than performing just the operation without enforcing the capacity constraint.
       *
       * This implementation uses a per-segment queue to record a memento of the additions, removals,
       * and accesses that were performed on the map. The queue is drained on writes and when it exceeds
       * its capacity threshold.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
Back to top