Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 914 for builder2 (0.09 sec)

  1. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       */
      public static <B> Builder<B> orderedBy(Comparator<B> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
       * Creates and returns a new builder, configured to build {@code MinMaxPriorityQueue} instances
       * sized appropriately to hold {@code expectedSize} elements.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertFailsWith<IllegalArgumentException> {
          Cookie.Builder().name(" a ")
        }
      }
    
      @Test fun builderValueValidation() {
        assertFailsWith<IllegalArgumentException> {
          Cookie.Builder().value(" b ")
        }
      }
    
      @Test fun builderClampsMaxDate() {
        val cookie =
          Cookie.Builder()
            .name("a")
            .value("b")
            .hostOnlyDomain("example.com")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/cbean/bs/BsRoleCB.java

        @Override
        public SearchRequestBuilder build(SearchRequestBuilder builder) {
            if (_conditionQuery != null) {
                QueryBuilder queryBuilder = _conditionQuery.getQuery();
                if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                }
                _conditionQuery.getFieldSortBuilderList().forEach(sort -> {
                    builder.addSort(sort);
                });
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsElevateWordToLabelCB.java

        @Override
        public SearchRequestBuilder build(SearchRequestBuilder builder) {
            if (_conditionQuery != null) {
                QueryBuilder queryBuilder = _conditionQuery.getQuery();
                if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                }
                _conditionQuery.getFieldSortBuilderList().forEach(sort -> {
                    builder.addSort(sort);
                });
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        @Override
        protected List<String> create(String[] elements) {
          ImmutableList.Builder<String> builder = ImmutableList.<String>builder();
          for (String element : elements) {
            builder.add(element);
          }
          return builder.build();
        }
      }
    
      public static class BuilderAddAllListGenerator extends TestStringListGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       * resulting URL is not well-formed.
       */
      fun resolve(link: String): HttpUrl? = newBuilder(link)?.build()
    
      /**
       * Returns a builder based on this URL.
       */
      fun newBuilder(): Builder {
        val result = Builder()
        result.scheme = scheme
        result.encodedUsername = encodedUsername
        result.encodedPassword = encodedPassword
        result.host = host
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testForEachLine() throws IOException {
        source = new TestCharSource(LINES);
    
        ImmutableList.Builder<String> builder = ImmutableList.builder();
        source.forEachLine(builder::add);
    
        assertEquals(SPLIT_LINES, builder.build());
        assertTrue(source.wasStreamOpened());
        assertTrue(source.wasStreamClosed());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

          if (!isNullOrEmpty(pendingDescription)) {
            builder.append("PENDING, info=[").append(pendingDescription).append("]");
          } else if (isDone()) {
            addDoneString(builder);
          } else {
            builder.append("PENDING");
          }
        }
        return builder.append("]").toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                    if (defaultField.equals(splitField.cur)) {
                        final PhraseQuery.Builder builder = new PhraseQuery.Builder();
                        builder.add(termQuery.getTerm());
                        return builder.build();
                    }
                }
                return query;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/bucket/versioning/README.md

          if (!minioClient.bucketExists(BucketExistsArgs.builder().bucket("my-bucketname").build())) {
            minioClient.makeBucket(MakeBucketArgs.builder().bucket("my-bucketname").build());
            System.out.println("my-bucketname is created successfully");
          }
    
          boolean isVersioningEnabled =
              minioClient.isVersioningEnabled(
                  IsVersioningEnabledArgs.builder().bucket("my-bucketname").build());
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top