- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 182 for newBuilder (0.07 seconds)
-
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
} /*-- END test "groupId/artifactId/version" metadata ---*/ @Test void testRoundtrip() throws Exception { Metadata source = new Metadata(org.apache.maven.api.metadata.Metadata.newBuilder( createMetadataFromArtifact(artifact).getDelegate(), true) .modelEncoding("UTF-16") .build()); ByteArrayOutputStream baos = new ByteArrayOutputStream();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 13.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
*/ private static Settings adaptSettings(MavenExecutionRequest request) { File localRepo = request.getLocalRepositoryPath(); return new Settings(org.apache.maven.api.settings.Settings.newBuilder() .localRepository(localRepo != null ? localRepo.getAbsolutePath() : null) .interactiveMode(request.isInteractiveMode()) .offline(request.isOffline())Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.7K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
if (pluginDescriptorV4 == null) { synchronized (this) { if (pluginDescriptorV4 == null) { pluginDescriptorV4 = org.apache.maven.api.plugin.descriptor.PluginDescriptor.newBuilder() .namespaceUri(null) .modelEncoding(null) .name(name) .description(description)
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 16.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/Cache.java
* @param <V> the type of the cache's values, which are not permitted to be null * @author Charles Fry * @since 10.0 */ @DoNotMock("Use CacheBuilder.newBuilder().build()") @GwtCompatible public interface Cache<K, V> { /** * Returns the value associated with {@code key} in this cache, or {@code null} if there is no * cached value for {@code key}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.3K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
} /** Returns a CacheBuilder configured according to this instance's specification. */ CacheBuilder<Object, Object> toCacheBuilder() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder(); if (initialCapacity != null) { builder.initialCapacity(initialCapacity); } if (maximumSize != null) { builder.maximumSize(maximumSize); } if (maximumWeight != null) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
} /** Returns a CacheBuilder configured according to this instance's specification. */ CacheBuilder<Object, Object> toCacheBuilder() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder(); if (initialCapacity != null) { builder.initialCapacity(initialCapacity); } if (maximumSize != null) { builder.maximumSize(maximumSize); } if (maximumWeight != null) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
"GCS project ID is blank. Please set the GCS_PROJECT_ID environment variable or projectId parameter."); } final StorageOptions.Builder builder = StorageOptions.newBuilder().setProjectId(projectId); final String endpoint = getInitParameter("endpoint", null, String.class); if (StringUtil.isNotBlank(endpoint)) { // For fake-gcs-server or custom endpointCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 17.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
return new LocalCache<>(builder, loader); } // TODO(cpovirk): Inline createCacheBuilder()? private static CacheBuilder<Object, Object> createCacheBuilder() { return CacheBuilder.newBuilder(); } // constructor tests public void testDefaults() { LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); assertThat(map.keyStrength).isEqualTo(Strength.STRONG);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
@PostConstruct public void init() { if (logger.isDebugEnabled()) { logger.debug("Initializing {}", this.getClass().getSimpleName()); } crawlingConfigCache = CacheBuilder.newBuilder().maximumSize(100).expireAfterWrite(10, TimeUnit.MINUTES).build(); } /** * Determines the configuration type from a given config ID.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19.5K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
* statistics objects with the configured size and expiration settings. */ @PostConstruct public void init() { statsLogger = LogManager.getLogger(loggerName); statsCache = CacheBuilder.newBuilder() .maximumSize(maxCacheSize) .expireAfterWrite(cacheExpireAfterWrite, TimeUnit.MILLISECONDS) .build(new CacheLoader<String, StatsObject>() { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 17.4K bytes - Click Count (0)