Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for Merged (0.2 sec)

  1. android/guava/src/com/google/common/collect/ImmutableMap.java

       * and values are the result of applying the provided mapping functions to the input elements.
       *
       * <p>If the mapped keys contain duplicates (according to {@link Object#equals(Object)}), the
       * values are merged using the specified merging function. If the merging function returns {@code
       * null}, then the collector removes the value that has been computed for the key thus far (though
       * future occurrences of the key would reinsert it).
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>If the mapped keys contain duplicates (according to the comparator), the values are merged
       * using the specified merging function. Entries will appear in the encounter order of the first
       * occurrence of the key.
       *
       * @since 21.0
       */
      public static <T extends @Nullable Object, K, V>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TableCollectors.java

        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
            table.put(row, column, cell);
          } else {
            oldCell.merge(value, merger);
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

       * and values are the result of applying the provided mapping functions to the input elements.
       *
       * <p>If the mapped keys contain duplicates (according to {@link Object#equals(Object)}), the
       * values are merged using the specified merging function. If the merging function returns {@code
       * null}, then the collector removes the value that has been computed for the key thus far (though
       * future occurrences of the key would reinsert it).
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterables.java

        if (iterable instanceof Collection) {
          return ((Collection<?>) iterable).isEmpty();
        }
        return !iterable.iterator().hasNext();
      }
    
      /**
       * Returns an iterable over the merged contents of all given {@code iterables}. Equivalent entries
       * will not be de-duplicated.
       *
       * <p>Callers must ensure that the source {@code iterables} are in non-descending order as this
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterators.java

      public static <T extends @Nullable Object> PeekingIterator<T> peekingIterator(
          PeekingIterator<T> iterator) {
        return checkNotNull(iterator);
      }
    
      /**
       * Returns an iterator over the merged contents of all given {@code iterators}, traversing every
       * element of the input iterators. Equivalent entries will not be de-duplicated.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertFalse("heap contains larry which has been removed", mmHeap.contains("larry"));
        assertTrue("heap does not contain sergey", mmHeap.contains("sergey"));
        assertTrue("Could not remove larry", mmHeap.removeAll(Lists.newArrayList("sergey", "eric")));
        assertFalse("Could remove nikesh which is not in the heap", mmHeap.remove("nikesh"));
        assertEquals(4, mmHeap.size());
      }
    
      public void testCreateWithOrdering() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/StatsAccumulator.java

       *
       * @since 28.2
       */
      public void addAll(StatsAccumulator values) {
        if (values.count() == 0) {
          return;
        }
        merge(values.count(), values.mean(), values.sumOfSquaresOfDeltas(), values.min(), values.max());
      }
    
      private void merge(
          long otherCount,
          double otherMean,
          double otherSumOfSquaresOfDeltas,
          double otherMin,
          double otherMax) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * and it can grow up to maxStoredPermits, for sufficiently large underutilization. So, the
       * requested permits, by an invocation acquire(permits), are served from:
       *
       * - stored permits (if available)
       *
       * - fresh permits (for any remaining permits)
       *
       * How this works is best explained with an example:
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top