Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 111 for modification (0.13 sec)

  1. 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)
  2. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

      static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>>
          implements RemovalListener<K, V> {
    
        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          add(notification);
        }
      }
    
      /**
       * {@link RemovalListener} that counts each {@link RemovalNotification} it receives, and provides
       * access to the most-recently received one.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * ConcurrentModificationException}, and guarantees to traverse elements as they existed upon
       * construction of the iterator, and may (but is not guaranteed to) reflect any modifications
       * subsequent to construction.
       *
       * @return an iterator over the elements in this queue in proper sequence
       */
      @CanIgnoreReturnValue
      @Override
      public Iterator<E> iterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ArrayTable.java

     * an {@code ArrayTable} concurrently and one of the threads modifies its value, there is no
     * guarantee that the new value will be fully visible to the other threads. To guarantee that
     * modifications are visible, synchronize access to the table. Unlike other {@code Table}
     * implementations, synchronization is unnecessary between a thread that writes to one cell and a
     * thread that reads from another.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        for (RemovalNotification<String, String> notification : listener) {
          removalNotifications.put(notification.getKey(), notification.getValue());
          assertEquals(
              "Unexpected key/value pair passed to removalListener",
              notification.getKey(),
              notification.getValue());
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 03 20:10:02 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/RemovalListener.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * An object that can receive a notification when an entry is removed from a cache. The removal
     * resulting in notification could have occurred to an entry being manually removed or replaced, or
     * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FluentIterable.java

       * this fluent iterable contains fewer than {@code numberToSkip} elements, the returned fluent
       * iterable skips all of its elements.
       *
       * <p>Modifications to this fluent iterable before a call to {@code iterator()} are reflected in
       * the returned fluent iterable. That is, the iterator skips the first {@code numberToSkip}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FluentIterable.java

       * this fluent iterable contains fewer than {@code numberToSkip} elements, the returned fluent
       * iterable skips all of its elements.
       *
       * <p>Modifications to this fluent iterable before a call to {@code iterator()} are reflected in
       * the returned fluent iterable. That is, the iterator skips the first {@code numberToSkip}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top