Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for accumulator (0.85 sec)

  1. guava/src/com/google/common/math/BigIntegerMath.java

                    .divide(BigInteger.valueOf(denominatorAccum));
            numeratorAccum = p;
            denominatorAccum = q;
            numeratorBits = bits;
          } else {
            // We can definitely multiply into the long accumulators without overflowing them.
            numeratorAccum *= p;
            denominatorAccum *= q;
            numeratorBits += bits;
          }
        }
        return accum
            .multiply(BigInteger.valueOf(numeratorAccum))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

    @SuppressWarnings("serial") // we're overriding default serialization
    public abstract class ImmutableList<E> extends ImmutableCollection<E>
        implements List<E>, RandomAccess {
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableList}, in encounter order.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableListMultimap.java

     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public class ImmutableListMultimap<K, V> extends ImmutableMultimap<K, V>
        implements ListMultimap<K, V> {
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableListMultimap}
       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    public class ImmutableListMultimap<K, V> extends ImmutableMultimap<K, V>
        implements ListMultimap<K, V> {
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableListMultimap}
       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    public abstract class ImmutableMap<K, V> implements Map<K, V>, Serializable {
    
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements.
       * Entries appear in the result {@code ImmutableMap} in encounter order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * will remember the first duplicate key we encountered. All later calls to buildOrThrow() can
       * mention that key with its values. Further duplicates might be added in the meantime but since
       * builders only ever accumulate entries it will always be valid to throw from buildOrThrow() with
       * the first duplicate.
       */
    
      // This entry point is for callers other than ImmutableMap.Builder.
      static <K, V> RegularImmutableMap<K, V> create(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    public abstract class ImmutableMap<K, V> implements Map<K, V>, Serializable {
    
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements.
       * Entries appear in the result {@code ImmutableMap} in encounter order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      private static final ImmutableRangeSet<Comparable<?>> ALL =
          new ImmutableRangeSet<>(ImmutableList.of(Range.<Comparable<?>>all()));
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableRangeSet}. As in {@link Builder}, overlapping ranges are not permitted and adjacent
       * ranges will be merged.
       *
       * @since 33.2.0 (available since 23.1 in guava-jre)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Striped.java

            if (existing != null) {
              return existing;
            }
          }
          drainQueue();
          return created;
        }
    
        // N.B. Draining the queue is only necessary to ensure that we don't accumulate empty references
        // in the array. We could skip this if we decide we don't care about holding on to Reference
        // objects indefinitely.
        private void drainQueue() {
          Reference<? extends L> ref;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSetMultimap.java

     *
     * @author Mike Ward
     * @since 2.0
     */
    @GwtCompatible
    public class ImmutableSetMultimap<K, V> extends ImmutableMultimap<K, V>
        implements SetMultimap<K, V> {
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableSetMultimap}
       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top