Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 956 for builder_ (0.06 sec)

  1. guava-tests/test/com/google/common/base/SplitterTest.java

       */
      private void assertSplitterIterableIsLazy(Splitter splitter) {
        StringBuilder builder = new StringBuilder();
        Iterator<String> iterator = splitter.split(builder).iterator();
    
        builder.append("A,");
        assertEquals("A", iterator.next());
        builder.append("B,");
        assertEquals("B", iterator.next());
        builder.append("C");
        assertEquals("C", iterator.next());
        assertFalse(iterator.hasNext());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
    
        ImmutableSetMultimap<State, Service> servicesByState() {
          ImmutableSetMultimap.Builder<State, Service> builder = ImmutableSetMultimap.builder();
          monitor.enter();
          try {
            for (Entry<State, Service> entry : servicesByState.entries()) {
              if (!(entry.getValue() instanceof NoOpService)) {
                builder.put(entry);
              }
            }
          } finally {
            monitor.leave();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
    
        ImmutableSetMultimap<State, Service> servicesByState() {
          ImmutableSetMultimap.Builder<State, Service> builder = ImmutableSetMultimap.builder();
          monitor.enter();
          try {
            for (Entry<State, Service> entry : servicesByState.entries()) {
              if (!(entry.getValue() instanceof NoOpService)) {
                builder.put(entry);
              }
            }
          } finally {
            monitor.leave();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

    import okio.Path.Companion.toOkioPath
    import okio.buffer
    import okio.source
    
    /**
     * Utilities for reading HPACK tests.
     */
    object HpackJsonUtil {
      @Suppress("unused")
      private val MOSHI =
        Moshi.Builder()
          .add(
            object : Any() {
              @ToJson fun byteStringToJson(byteString: ByteString) = byteString.hex()
    
              @FromJson fun byteStringFromJson(json: String) = json.decodeHex()
            },
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

         *
         * @param args the command-line arguments
         * @param logger the logger to use during parsing
         * @param messageBuilderFactory the factory for creating message builders
         * @return the parsed InvokerRequest
         * @throws ParserException if there's an error during parsing of the command or arguments
         * @throws IOException if there's an I/O error during the parsing process
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top