Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for removable (0.18 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. android/guava/src/com/google/common/cache/LoadingCache.java

       * into the cache. Newly loaded values are added to the cache using {@code
       * 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.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  3. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        return (SortedSet<V>) super.replaceValues(key, values);
      }
    
      /**
       * Returns a map view that associates each key with the corresponding values in the multimap.
       * Changes to the returned map, such as element removal, will update the underlying multimap. The
       * map does not support {@code setValue} on its entries, {@code put}, or {@code putAll}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        return (SortedSet<V>) super.replaceValues(key, values);
      }
    
      /**
       * Returns a map view that associates each key with the corresponding values in the multimap.
       * Changes to the returned map, such as element removal, will update the underlying multimap. The
       * map does not support {@code setValue} on its entries, {@code put}, or {@code putAll}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top