Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Merged (0.15 sec)

  1. guava/src/com/google/common/collect/ImmutableRangeSet.java

         * and will be merged, but overlapping ranges will cause an exception when {@link #build()} is
         * called.
         */
        @CanIgnoreReturnValue
        public Builder<C> addAll(RangeSet<C> ranges) {
          return addAll(ranges.asRanges());
        }
    
        /**
         * Add all of the specified ranges to this builder. Adjacent ranges are permitted and will be
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

         * and will be merged, but overlapping ranges will cause an exception when {@link #build()} is
         * called.
         */
        @CanIgnoreReturnValue
        public Builder<C> addAll(RangeSet<C> ranges) {
          return addAll(ranges.asRanges());
        }
    
        /**
         * Add all of the specified ranges to this builder. Adjacent ranges are permitted and will be
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeBasedTable.java

          @CheckForNull C lastValue;
    
          @Override
          @CheckForNull
          protected C computeNext() {
            while (merged.hasNext()) {
              C next = merged.next();
              boolean duplicate = lastValue != null && comparator.compare(next, lastValue) == 0;
    
              // Keep looping till we find a non-duplicate value.
              if (!duplicate) {
                lastValue = next;
                return lastValue;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private interface Merger {
    
        ListenableFuture<List<String>> merged(ListenableFuture<String> a, ListenableFuture<String> b);
    
        Merger allMerger =
            new Merger() {
              @Override
              public ListenableFuture<List<String>> merged(
                  ListenableFuture<String> a, ListenableFuture<String> b) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private interface Merger {
    
        ListenableFuture<List<String>> merged(ListenableFuture<String> a, ListenableFuture<String> b);
    
        Merger allMerger =
            new Merger() {
              @Override
              public ListenableFuture<List<String>> merged(
                  ListenableFuture<String> a, ListenableFuture<String> b) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  7. android/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 33.2.0 (available since 21.0 in guava-jre)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top