Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for combine (0.17 sec)

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

       */
      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              ToOptionalState::new,
              ToOptionalState::add,
              ToOptionalState::combine,
              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    		cli.BoolFlag{
    			Usage: "export inline data",
    			Name:  "export",
    		},
    		cli.BoolFlag{
    			Usage: "combine inline data",
    			Name:  "combine",
    		},
    	}
    
    	app.Action = func(c *cli.Context) error {
    		ndjson := c.Bool("ndjson")
    		if c.Bool("data") && c.Bool("combine") {
    			return errors.New("cannot combine --data and --combine")
    		}
    		// file / version / file
    		filemap := make(map[string]map[string]string)
    		// versionID ->
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public void testToImmutableMap_java7_combine() {
        ImmutableMap.Builder<String, Integer> zis =
            ImmutableMap.<String, Integer>builder().put("one", 1);
        ImmutableMap.Builder<String, Integer> zat =
            ImmutableMap.<String, Integer>builder().put("two", 2).put("three", 3);
        assertMapEquals(zis.combine(zat).build(), "one", 1, "two", 2, "three", 3);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableBiMap.java

          super.orderEntriesByValue(valueComparator);
          return this;
        }
    
        @Override
        @CanIgnoreReturnValue
        Builder<K, V> combine(ImmutableMap.Builder<K, V> builder) {
          super.combine(builder);
          return this;
        }
    
        /**
         * Returns a newly-created immutable bimap. The iteration order of the returned bimap is the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

          super.putAll(multimap);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) {
          super.combine(other);
          return this;
        }
    
        /**
         * {@inheritDoc}
         *
         * @since 8.0
         */
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  6. apache-maven/pom.xml

        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.rat</groupId>
              <artifactId>apache-rat-plugin</artifactId>
              <configuration>
                <excludes combine.children="append">
                  <exclude>src/assembly/maven/bin/m2.conf</exclude>
                  <!-- these are partial scripts, resulting in mvn scripts -->
                  <exclude>src/assembly/shared/init</exclude>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

          for (Cell<? extends R, ? extends C, ? extends V> cell : table.cellSet()) {
            put(cell);
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<R, C, V> combine(Builder<R, C, V> other) {
          this.cells.addAll(other.cells);
          return this;
        }
    
        /**
         * Returns a newly-created immutable table.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

            putAll(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) {
          super.combine(other);
          return this;
        }
    
        /**
         * {@inheritDoc}
         *
         * @since 8.0
         */
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

            put(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> builder) {
          entries.addAll(builder.entries);
          return this;
        }
    
        /**
         * Returns an {@code ImmutableRangeMap} containing the associations previously added to this
         * builder.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Comparators.java

        checkNonnegative(k, "k");
        checkNotNull(comparator);
        return Collector.of(
            () -> TopKSelector.<T>least(k, comparator),
            TopKSelector::offer,
            TopKSelector::combine,
            TopKSelector::topK,
            Collector.Characteristics.UNORDERED);
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} greatest (relative to the specified
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top