Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for removable (0.15 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      int generateInt() {
        return freshness.get();
      }
    
      @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here?
      @Generates
      Integer generateInteger() {
        return new Integer(generateInt());
      }
    
      @Generates
      long generateLong() {
        return generateInt();
      }
    
      @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here?
      @Generates
      Long generateLongObject() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          boolean removal = (maximumSize == UNSET_INT) ? false : (size() > maximumSize);
          if ((removalListener != null) && removal) {
            removalListener.onRemoval(
                RemovalNotification.create(
                    ignored.getKey(), ignored.getValue().getValue(), RemovalCause.SIZE));
          }
          statsCounter.recordEviction();
          return removal;
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedListMultimap.java

      private transient Map<K, KeyList<K, V>> keyToKeyList;
      private transient int size;
    
      /*
       * Tracks modifications to keyToKeyList so that addition or removal of keys invalidates
       * preexisting iterators. This does *not* track simple additions and removals of values
       * that are not the first to be added or last to be removed for their key.
       */
      private transient int modCount;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Throwables.java

      /**
       * Returns the JavaLangAccess class that is present in all Sun JDKs. It is not allowed in
       * AppEngine, and not present in non-Sun JDKs.
       */
      @SuppressWarnings("removal") // b/318391980
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Object getJLA() {
        try {
          /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

      /**
       * Returns the JavaLangAccess class that is present in all Sun JDKs. It is not allowed in
       * AppEngine, and not present in non-Sun JDKs.
       */
      @SuppressWarnings("removal") // b/318391980
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Object getJLA() {
        try {
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top