Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 101 for Chaining (0.31 seconds)

  1. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

             * @return this builder for method chaining
             */
            public SearchConditionBuilder query(final String query) {
                this.query = query;
                return this;
            }
    
            /**
             * Sets the search request type.
             *
             * @param searchRequestType the search request type
             * @return this builder for method chaining
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  2. src/test/java/jcifs/smb/SmbExceptionTest.java

                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        @DisplayName("Should handle exception chaining")
        void testExceptionChaining() {
            // Given
            Exception rootCause = new RuntimeException("Root cause");
            SmbException intermediateCause = new SmbException("Intermediate", rootCause);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            QueryBuilder queryBuilder = QueryBuilders.matchAllQuery();
            UpdateLabelJob returnedJob = updateLabelJob.query(queryBuilder);
    
            assertSame(updateLabelJob, returnedJob); // Method chaining
            assertEquals(queryBuilder, updateLabelJob.queryBuilder);
        }
    
        // Test query() method with null
        @Test
        public void test_query_withNull() {
            updateLabelJob.query(null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

         * For BoolQueryBuilder, adds as a should clause.
         * For DisMaxQueryBuilder, adds as a query.
         *
         * @param innerQueryBuilder the query builder to add
         * @return this instance for method chaining
         */
        public DefaultQueryBuilder add(final QueryBuilder innerQueryBuilder) {
            switch (queryType) {
            case BOOL:
                ((BoolQueryBuilder) queryBuilder).should(innerQueryBuilder);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        @DisplayName("Should support exception chaining")
        void testExceptionChaining() {
            // Given
            Exception rootCause = new IllegalStateException("Root error");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

     *       directly
     *   <li>Pass a <i>pre-existing</i> {@link Comparator} instance to {@link #from(Comparator)}
     *   <li>Use the natural ordering, {@link Ordering#natural}
     * </ul>
     *
     * <h4>Chaining</h4>
     *
     * <p>Then you can use the <i>chaining</i> methods to get an altered version of that {@code
     * Ordering}, including:
     *
     * <ul>
     *   <li>{@link #reverse}
     *   <li>{@link #compound(Comparator)}
     *   <li>{@link #onResultOf(Function)}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType());
          try {
            Object actualReturnValue = method.invoke(wrapper, passedArgs);
            // If we think this might be a 'chaining' call then we allow the return value to either
            // be the wrapper or the returnValue.
            if (!isPossibleChainingCall || wrapper != actualReturnValue) {
              assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Ordering.java

     *       directly
     *   <li>Pass a <i>pre-existing</i> {@link Comparator} instance to {@link #from(Comparator)}
     *   <li>Use the natural ordering, {@link Ordering#natural}
     * </ul>
     *
     * <h4>Chaining</h4>
     *
     * <p>Then you can use the <i>chaining</i> methods to get an altered version of that {@code
     * Ordering}, including:
     *
     * <ul>
     *   <li>{@link #reverse}
     *   <li>{@link #compound(Comparator)}
     *   <li>{@link #onResultOf(Function)}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // When
            boolean allowChain = request.allowChain(nextRequest);
    
            // Then
            assertFalse(allowChain, "Cancel requests should not allow chaining");
        }
    
        @Test
        @DisplayName("Test split returns null")
        void testSplit() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType());
          try {
            Object actualReturnValue = method.invoke(wrapper, passedArgs);
            // If we think this might be a 'chaining' call then we allow the return value to either
            // be the wrapper or the returnValue.
            if (!isPossibleChainingCall || wrapper != actualReturnValue) {
              assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
Back to Top