Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for removable (0.23 sec)

  1. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by
          // object identity.
          // A data structure that returned a removal handle from add() would allow eliminating this
          // allocation.
          submittedTask =
              new Runnable() {
                @Override
                public void run() {
                  task.run();
                }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

       * so that we get partial compile-time checking.)
       *
       * <p>This workaround should be removed at a distant future time when we no longer support Java
       * versions earlier than 8.
       */
      @SuppressWarnings("removal") // b/318391980
      private static final class TypeVariableInvocationHandler implements InvocationHandler {
        private static final ImmutableMap<String, Method> typeVariableMethods;
    
        static {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

            : Iterators.retainAll(removeFrom.iterator(), elementsToRetain);
      }
    
      /**
       * Removes, from an iterable, every element that satisfies the provided predicate.
       *
       * <p>Removals may or may not happen immediately as each element is tested against the predicate.
       * The behavior of this method is not specified if {@code predicate} is dependent on {@code
       * removeFrom}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  4. 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.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
       */
      @SuppressWarnings("removal") // b/260137033
      public static void awaitDone(Future<?> future) {
        if (future.isDone()) {
          return;
        }
        long timeoutSeconds = timeoutSeconds();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      /*
       * The ConcurrentHashMultiset's atomic operations are implemented primarily in terms of
       * AtomicInteger's atomic operations, with some help from ConcurrentMap's atomic operations on
       * creation and removal (including automatic removal of zeroes). If the modification of an
       * AtomicInteger results in zero, we compareAndSet the value to zero; if that succeeds, we remove
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/annotations/Beta.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a public API (public class, method or field) is subject to incompatible changes,
     * or even removal, in a future release. An API bearing this annotation is exempt from any
     * compatibility guarantees made by its containing library. Note that the presence of this
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java

      GENERAL_PURPOSE(
          CollectionFeature.GENERAL_PURPOSE,
          SUPPORTS_SET,
          SUPPORTS_ADD_WITH_INDEX,
          SUPPORTS_REMOVE_WITH_INDEX),
    
      /** Features supported by lists where only removal is allowed. */
      REMOVE_OPERATIONS(CollectionFeature.REMOVE_OPERATIONS, SUPPORTS_REMOVE_WITH_INDEX);
    
      private final Set<Feature<? super List>> implied;
    
      ListFeature(Feature<? super List>... implied) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/RemovalCause.java

       */
      SIZE {
        @Override
        boolean wasEvicted() {
          return true;
        }
      };
    
      /**
       * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither
       * {@link #EXPLICIT} nor {@link #REPLACED}).
       */
      abstract boolean wasEvicted();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    import java.util.List;
    import java.util.Random;
    import java.util.RandomAccess;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Network}. */
    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top