- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 167 for newBuilder (0.07 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
Model.Builder builder = Model.newBuilder(model); builder.dependencies(injectList(model.getDependencies(), this::injectDependency)); Build build = model.getBuild(); if (build != null) { Build newBuild = Build.newBuilder(build) .plugins(injectList(build.getPlugins(), this::injectPlugin))
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
} public void testConcurrencyLevel_zero() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(0)); } public void testConcurrencyLevel_negative() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(-42)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
this.port = port; } /** See https://api.slack.com/docs/oauth. */ public HttpUrl authorizeUrl(String scopes, HttpUrl redirectUrl, ByteString state, String team) { HttpUrl.Builder builder = baseUrl.newBuilder("/oauth/authorize") .addQueryParameter("client_id", clientId) .addQueryParameter("scope", scopes) .addQueryParameter("redirect_uri", redirectUrl.toString())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java
} private static Plugin newPlugin(String artifactId, String... goals) { return Plugin.newBuilder() .groupId("org.apache.maven.plugins") .artifactId(artifactId) .executions(Arrays.stream(goals) .map(goal -> PluginExecution.newBuilder() .id("default-" + goal) .goals(List.of(goal))
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java
@Test void mergeSameContributors() { Contributor contributor = Contributor.newBuilder().email("******@****.***").build(); Model target = Model.newBuilder().contributors(Arrays.asList(contributor)).build(); Model source = Model.newBuilder().contributors(Arrays.asList(contributor)).build();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java
// Non-loading versions: private final Map<Object, Object> map = new MapMaker().makeMap(); // Returns ConcurrentHashMap private final Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); private final Cache<Object, Object> cacheNoStats = CacheBuilder.newBuilder().build(); @BeforeExperiment void setUp() { map.put(TEST_KEY, TEST_VALUE); cache.put(TEST_KEY, TEST_VALUE); cacheNoStats.put(TEST_KEY, TEST_VALUE);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 05 17:21:46 UTC 2022 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
*/ public <N1 extends N> NetworkBuilder<N1, E> nodeOrder(ElementOrder<N1> nodeOrder) { NetworkBuilder<N1, E> newBuilder = cast(); newBuilder.nodeOrder = checkNotNull(nodeOrder); return newBuilder; } /** * Specifies the order of iteration for the elements of {@link Network#edges()}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 03 01:21:31 UTC 2022 - 7.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
ActivationFile activationFile = ActivationFile.newBuilder().exists(filePath).build(); return newProfile(activationFile); } private Profile newMissingProfile(String filePath) { ActivationFile activationFile = ActivationFile.newBuilder().missing(filePath).build(); return newProfile(activationFile); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0)