Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 167 for newBuilder (0.1 sec)

  1. 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());
    
        assertSame(Strength.STRONG, map.keyStrength);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                //                null,
                //                lookup);
    
                Profile profile = session.getService(SettingsBuilder.class)
                        .convert(org.apache.maven.api.settings.Profile.newBuilder()
                                .repositories(settings.getRepositories())
                                .pluginRepositories(settings.getPluginRepositories())
                                .build());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. test-site/activator-launch-1.3.2.jar

    /WrappedString$$anonfun$newBuilder$1.class package scala.collection.immutable; public final synchronized class WrappedString$$anonfun$newBuilder$1 extends scala.runtime.AbstractFunction1 implements scala.Serializable { public void WrappedString$$anonfun$newBuilder$1(); } scala/collection/immutable/VectorPointer.class package scala.collection.immutable; public abstract interface VectorPointer { public abstract int depth(); public abstract void depth_$eq(int); public abstract Object[] display0(); public...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  4. 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())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. 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)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. 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
    @ElementTypesAreNonnullByDefault
    public interface Cache<K, V> {
    
      /**
       * Returns the value associated with {@code key} in this cache, or {@code null} if there is no
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Headers.kt

          result += namesAndValues[i].length.toLong()
        }
    
        return result
      }
    
      override operator fun iterator(): Iterator<Pair<String, String>> = commonIterator()
    
      fun newBuilder(): Builder = commonNewBuilder()
    
      /**
       * Returns true if `other` is a `Headers` object with the same headers, with the same casing, in
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/TempFileCreator.java

                    .getUserPrincipalLookupService()
                    .lookupPrincipalByName(getUsername());
            ImmutableList<AclEntry> acl =
                ImmutableList.of(
                    AclEntry.newBuilder()
                        .setType(ALLOW)
                        .setPrincipal(user)
                        .setPermissions(EnumSet.allOf(AclEntryPermission.class))
                        .setFlags(DIRECTORY_INHERIT, FILE_INHERIT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

     * cache instances created by {@code CacheBuilder} will not perform any type of eviction.
     *
     * <p>Usage example:
     *
     * <pre>{@code
     * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder()
     *     .maximumSize(10000)
     *     .expireAfterWrite(Duration.ofMinutes(10))
     *     .removalListener(MY_LISTENER)
     *     .build(
     *         new CacheLoader<Key, Graph>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  10. mockwebserver/api/mockwebserver3.api

    	public final fun getThrottlePeriodNanos ()J
    	public final fun getTrailers ()Lokhttp3/Headers;
    	public final fun getWebSocketListener ()Lokhttp3/WebSocketListener;
    	public final fun newBuilder ()Lmockwebserver3/MockResponse$Builder;
    	public fun toString ()Ljava/lang/String;
    }
    
    public final class mockwebserver3/MockResponse$Builder : java/lang/Cloneable {
    	public fun <init> ()V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top