Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for modification (0.18 sec)

  1. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       *
       * <p>Note: this method is idempotent and safe to call from any thread
       */
      public void dispatch() {
        // iterate by index to avoid concurrent modification exceptions
        for (int i = 0; i < listeners.size(); i++) {
          listeners.get(i).dispatch();
        }
      }
    
      /**
       * A special purpose queue/executor that dispatches listener events serially on a configured
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashing.java

      static final byte UNSET = 0;
    
      /** Number of bits used to store the numbers of hash table bits (max 30). */
      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       *
       * <p>Note: this method is idempotent and safe to call from any thread
       */
      public void dispatch() {
        // iterate by index to avoid concurrent modification exceptions
        for (int i = 0; i < listeners.size(); i++) {
          listeners.get(i).dispatch();
        }
      }
    
      /**
       * A special purpose queue/executor that dispatches listener events serially on a configured
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. android/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)
  5. android/guava/src/com/google/common/cache/LoadingCache.java

       * Cache.asMap().putIfAbsent} after loading has completed; if another value was associated with
       * {@code key} while the new value was loading then a removal notification will be sent for the
       * new value.
       *
       * <p>If the cache loader associated with this cache is known not to throw checked exceptions,
       * then prefer {@link #getUnchecked} over this method.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  6. 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)
  7. guava/src/com/google/common/cache/LoadingCache.java

       * Cache.asMap().putIfAbsent} after loading has completed; if another value was associated with
       * {@code key} while the new value was loading then a removal notification will be sent for the
       * new value.
       *
       * <p>If the cache loader associated with this cache is known not to throw checked exceptions,
       * then prefer {@link #getUnchecked} over this method.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SortedMultiset.java

       * <p>The iterator returns the elements in ascending order according to this multiset's
       * comparator.
       */
      @Override
      Iterator<E> iterator();
    
      /**
       * Returns a descending view of this multiset. Modifications made to either map will be reflected
       * in the other.
       */
      SortedMultiset<E> descendingMultiset();
    
      /**
       * Returns a view of this multiset restricted to the elements less than {@code upperBound},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/SortedMultiset.java

       * <p>The iterator returns the elements in ascending order according to this multiset's
       * comparator.
       */
      @Override
      Iterator<E> iterator();
    
      /**
       * Returns a descending view of this multiset. Modifications made to either map will be reflected
       * in the other.
       */
      SortedMultiset<E> descendingMultiset();
    
      /**
       * Returns a view of this multiset restricted to the elements less than {@code upperBound},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. 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)
Back to top