Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 81 for removable (0.19 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       *
       * @see java.util.Collection the definition of general-purpose collections.
       */
      GENERAL_PURPOSE(SUPPORTS_ADD, SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE),
    
      /** Features supported by collections where only removal is allowed. */
      REMOVE_OPERATIONS(SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE),
    
      SERIALIZABLE,
      SERIALIZABLE_INCLUDING_VIEWS(SERIALIZABLE),
    
      SUBSET_VIEW,
      DESCENDING_VIEW,
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        long blah = 0;
        for (int i = 0; i < reps; i++) {
          Integer key = keys.get(random.nextInt(nKeys));
          // This range is [-5, 4] - slight negative bias so we often hit zero, which brings the
          // auto-removal of zeroes into play.
          int delta = random.nextInt(10) - 5;
          blah += delta;
          if (delta >= 0) {
            multiset.add(key, delta);
          } else {
            multiset.remove(key, -delta);
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedSetMultimap.java

      /**
       * 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: Mon Jan 24 17:47:51 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/Striped64.java

       * Returns a sun.misc.Unsafe. Suitable for use in a 3rd party package. Replace with a simple call
       * to Unsafe.getUnsafe when integrating into a jdk.
       *
       * @return a sun.misc.Unsafe
       */
      @SuppressWarnings("removal") // b/318391980
      private static sun.misc.Unsafe getUnsafe() {
        try {
          return sun.misc.Unsafe.getUnsafe();
        } catch (SecurityException tryReflectionInstead) {
        }
        try {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Lists.java

          this.fromList = checkNotNull(fromList);
          this.function = checkNotNull(function);
        }
    
        /**
         * The default implementation inherited is based on iteration and removal of each element which
         * can be overkill. That's why we forward this call directly to the backing list.
         */
        @Override
        protected void removeRange(int fromIndex, int toIndex) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

       * higher than performing just the operation without enforcing the capacity constraint.
       *
       * This implementation uses a per-segment queue to record a memento of the additions, removals,
       * and accesses that were performed on the map. The queue is drained on writes and when it exceeds
       * its capacity threshold.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>Static initialization of this class will fail if the {@link sun.misc.Unsafe} object cannot
       * be accessed.
       */
      @SuppressWarnings({"sunapi", "removal"}) // b/318391980
      private static final class UnsafeAtomicHelper extends AtomicHelper {
        static final sun.misc.Unsafe UNSAFE;
        static final long LISTENERS_OFFSET;
        static final long WAITERS_OFFSET;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        valueRef.setLoading(true);
        entry.setValueReference(valueRef);
        table.set(index, entry);
        assertNull(segment.refresh(key, hash, identityLoader(), false));
      }
    
      // Removal listener tests
    
      public void testRemovalListener_explicit() {
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        valueRef.setLoading(true);
        entry.setValueReference(valueRef);
        table.set(index, entry);
        assertNull(segment.refresh(key, hash, identityLoader(), false));
      }
    
      // Removal listener tests
    
      public void testRemovalListener_explicit() {
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

     * average, in the marking phase, not {@code 5.0} as in {@code java.util.HashSet}.
     *
     * <p>If there are no removals, then {@link #iterator iteration} order is the same as insertion
     * order. Any removal invalidates any ordering guarantees.
     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashSet}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top