Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for stores (1.08 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

            double z = a.getAndAccumulate(y, Double::sum);
            assertBitEquals(x, z);
            assertBitEquals(x + y, a.get());
          }
        }
      }
    
      /** getAndAccumulate with max stores max of given value to current, and returns previous value */
      public void testGetAndAccumulateWithMax() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            AtomicDouble a = new AtomicDouble(x);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 10.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimap.java

      /**
       * Stores all key-value pairs of {@code multimap} in this multimap, in the order returned by
       * {@code multimap.entries()}.
       *
       * @return {@code true} if the multimap changed
       */
      @CanIgnoreReturnValue
      boolean putAll(Multimap<? extends K, ? extends V> multimap);
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Serialization.java

        for (int i = 0; i < size; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeMap
          K key = (K) stream.readObject();
          @SuppressWarnings("unchecked") // reading data stored by writeMap
          V value = (V) stream.readObject();
          map.put(key, value);
        }
      }
    
      /**
       * Stores the contents of a multiset in an output stream, as part of serialization. It does not
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

    import java.util.Collections;
    import java.util.List;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Aggregate future that collects (stores) results of each future. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    abstract class CollectionFuture<V extends @Nullable Object, C extends @Nullable Object>
        extends AggregateFuture<V, C> {
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * Multimap} interface.
       */
      @CanIgnoreReturnValue
      @Override
      public SortedSet<V> removeAll(@CheckForNull Object key) {
        return (SortedSet<V>) super.removeAll(key);
      }
    
      /**
       * Stores a collection of values with the same key, replacing any existing values for that key.
       * The returned collection is immutable.
       *
    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)
  6. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * Multimap} interface.
       */
      @CanIgnoreReturnValue
      @Override
      public SortedSet<V> removeAll(@CheckForNull Object key) {
        return (SortedSet<V>) super.removeAll(key);
      }
    
      /**
       * Stores a collection of values with the same key, replacing any existing values for that key.
       * The returned collection is immutable.
       *
    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)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

              double z = aa.getAndAccumulate(i, y, Double::sum);
              assertBitEquals(x, z);
              assertBitEquals(x + y, aa.get(i));
            }
          }
        }
      }
    
      /** getAndAccumulate with max stores max of given value to current, and returns previous value */
      public void testGetAndAccumulateWithMax() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

       * values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * Stores a key-value pair in the multimap.
       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
       * @return {@code true} if the method increased the size of the multimap, or {@code false} if the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Closer.java

      public <C extends @Nullable Closeable> C register(@ParametricNullness C closeable) {
        if (closeable != null) {
          stack.addFirst(closeable);
        }
    
        return closeable;
      }
    
      /**
       * Stores the given throwable and rethrows it. It will be rethrown as is if it is an {@code
       * IOException}, {@code RuntimeException} or {@code Error}. Otherwise, it will be rethrown wrapped
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractListMultimap.java

        return (List<V>) super.replaceValues(key, values);
      }
    
      /**
       * Stores a key-value pair in the multimap.
       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
       * @return {@code true} always
       */
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
Back to top