- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 989 for BUILDER (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
ImmutableMultimap<Integer, String> single = new ImmutableMultimap.Builder<Integer, String>().put(1, "one").put(2, "two").build(); // copy into existing multimap assertSame(multimap, Multimaps.invertFrom(single, multimap)); ImmutableMultimap<String, Integer> expected = new ImmutableMultimap.Builder<String, Integer>().put("one", 1).put("two", 2).build(); assertEquals(expected, multimap);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
checkNotNull(valueFunction); ImmutableMap.Builder<K, V> builder = ImmutableMap.builder(); while (keys.hasNext()) { K key = keys.next(); builder.put(key, valueFunction.apply(key)); } // Using buildKeepingLast() so as not to fail on duplicate keys return builder.buildKeepingLast(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
checkNotNull(valueFunction); ImmutableMap.Builder<K, V> builder = ImmutableMap.builder(); while (keys.hasNext()) { K key = keys.next(); builder.put(key, valueFunction.apply(key)); } // Using buildKeepingLast() so as not to fail on duplicate keys return builder.buildKeepingLast(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java
* under the License. */ package org.apache.maven.model.building; import org.apache.maven.api.model.DependencyManagement; import org.apache.maven.api.model.Model; /** * Describes a tag used by the model builder to access a {@link ModelCache}. This interface basically aggregates a name * and a class to provide some type safety when working with the otherwise untyped cache. * * @param <T> The type of data associated with the tag.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
import java.io.PrintWriter; import java.io.StringWriter; import java.util.ArrayList; import java.util.List; /** * Signals one ore more errors during settings building. The settings builder tries to collect as many problems as * possible before eventually failing to provide callers with rich error information. Use {@link #getProblems()} to * query the details of the failure. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* explanation. * * @param <K> the most general key type this builder will be able to create caches for. This is * normally {@code Object} unless it is constrained by using a method like {@code * #removalListener}. Cache keys may not be null. * @param <V> the most general value type this builder will be able to create caches for. This is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 52K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
final List<SortBuilder<?>> list = new ArrayList<>(); if (defaultSortBuilders != null) { stream(defaultSortBuilders).of(stream -> stream.forEach(builder -> list.add(builder))); } list.add(createFieldSortBuilder(fieldName, SortOrder.DESC.toString().equalsIgnoreCase(order) ? SortOrder.DESC : SortOrder.ASC));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
// Not available platform.expectFailureOnJdkVersion(8) val httpClient = HttpClient.newBuilder() .followRedirects(NORMAL) .build() server.enqueue( MockResponse.Builder() .body("hello, Java HTTP Client") .build(), ) val request = HttpRequest.newBuilder(server.url("/").toUri()) .header("Accept", "text/plain") .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java
super(classWorld); } @Override protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() { return new DefaultLocalMavenInvoker( ProtoLookup.builder().addMapping(ClassWorld.class, classWorld).build()); } @Override protected MavenInvokerRequest<MavenOptions> parseArguments(String[] args) throws ParserException, IOException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java
return extractorMap.get(key); } public void setExtractorMap(final Map<String, Extractor> extractorMap) { this.extractorMap = extractorMap; } public ExtractorBuilder builder(final InputStream in, final Map<String, String> params) { return new ExtractorBuilder(crawlerContainer, in, params); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Jun 18 05:49:57 UTC 2024 - 2.9K bytes - Viewed (0)