Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 994 for Builder (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java

        protected Invoker createInvoker() {
            return new ShellInvoker(
                    ProtoLookup.builder().addMapping(ClassWorld.class, classWorld).build(), null);
        }
    
        @Override
        protected Parser createParser() {
            return new ShellParser();
        }
    
        @Override
        protected ParserRequest.Builder createParserRequestBuilder(String[] args) {
            return ParserRequest.mvnsh(args, createMessageBuilderFactory());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Sets.java

          int maxSize = maxSize();
          if (maxSize == 0) {
            return ImmutableSet.of();
          }
          ImmutableSet.Builder<@NonNull E> builder = ImmutableSet.builderWithExpectedSize(maxSize);
          for (E element : this) {
            builder.add(checkNotNull(element));
          }
          return builder.build();
        }
    
        /**
         * Copies the current contents of this set view into an existing set. This method has equivalent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/Progress.java

    import okio.BufferedSource;
    import okio.ForwardingSource;
    import okio.Okio;
    import okio.Source;
    
    public final class Progress {
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        final ProgressListener progressListener = new ProgressListener() {
          boolean firstUpdate = true;
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CartesianList.java

      private final transient ImmutableList<List<E>> axes;
      private final transient int[] axesSizeProduct;
    
      static <E> List<List<E>> create(List<? extends List<? extends E>> lists) {
        ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size());
        for (List<? extends E> list : lists) {
          List<E> copy = ImmutableList.copyOf(list);
          if (copy.isEmpty()) {
            return ImmutableList.of();
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

                super.prepareOptions(options);
                options.addOption(Option.builder(FORCE)
                        .longOpt("force")
                        .desc("Should overwrite without asking any configuration?")
                        .get());
                options.addOption(Option.builder(YES)
                        .longOpt("yes")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            converter = new AnalyzerConverter(client, settings);
        }
    
        private static void createTestIndex() throws Exception {
            // Create index with custom analyzers
            Settings indexSettings = Settings.builder()
                    .put("number_of_shards", 1)
                    .put("number_of_replicas", 0)
                    .put("analysis.analyzer.test_reading_analyzer.type", "custom")
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
       * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder
       * changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableValueGraphBuilder_copiesGraphBuilder() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

            return result;
        }
    
        private void missingDescriptor(
                RepositorySystemSession session, RequestTrace trace, Artifact artifact, Exception exception) {
            RepositoryEvent.Builder event = new RepositoryEvent.Builder(session, EventType.ARTIFACT_DESCRIPTOR_MISSING);
            event.setTrace(trace);
            event.setArtifact(artifact);
            event.setException(exception);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  9. docs/features/events.md

    We can use this listener to race a pair of concurrent HTTP requests:
    
    ```java
    Request washingtonPostRequest = new Request.Builder()
        .url("https://www.washingtonpost.com/")
        .build();
    client.newCall(washingtonPostRequest).enqueue(new Callback() {
      ...
    });
    
    Request newYorkTimesRequest = new Request.Builder()
        .url("https://www.nytimes.com/")
        .build();
    client.newCall(newYorkTimesRequest).enqueue(new Callback() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  10. build-tools-internal/src/test/java/org/elasticsearch/gradle/DistributionDownloadPluginTests.java

            );
        }
    
        public void testLocalCurrentVersionIntegTestZip() {
            Project project = createProject(BWC_MINOR);
            Project archiveProject = ProjectBuilder.builder().withParent(archivesProject).withName("integ-test-zip").build();
            archiveProject.getConfigurations().create("default");
            archiveProject.getArtifacts().add("default", new File("doesnotmatter"));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 6.4K bytes
    - Click Count (0)
Back to Top