Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 2,816 for methods_ (0.72 seconds)

  1. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            try {
                final Method method = UriType.class.getMethod("protocolType");
                assertNotNull(method, "protocolType method should exist");
                assertNull(method.getDefaultValue(), "protocolType should not have default value");
            } catch (final NoSuchMethodException e) {
                fail("protocolType method should exist");
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Preconditions.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Static convenience methods that help a method or constructor check whether it was invoked
     * correctly (that is, whether its <i>preconditions</i> were met).
     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/CharSourceTester.java

        for (Method method : testMethods) {
          suite.addTest(new CharSourceTester(factory, string, name, desc, method));
        }
        return suite;
      }
    
      private final ImmutableList<String> expectedLines;
    
      private CharSource source;
    
      public CharSourceTester(
          CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            }
    
            // Verify that the scroll method exists with correct signature
            try {
                SearchEngineUtil.class.getMethod("scroll", String.class, java.util.function.Function.class);
            } catch (NoSuchMethodException e) {
                fail("scroll method should exist with correct signature");
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  5. README.md

    }
    ```
    
    ## 🏗️ Architecture & Design Patterns
    
    ### Core Design Principles
    CoreLib follows a **utility-class pattern** where most functionality is exposed through static methods:
    
    - **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()`
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

        open fun query(body: RequestBody): Builder = method("QUERY", body)
    
        open fun method(
          method: String,
          body: RequestBody?,
        ): Builder =
          apply {
            require(method.isNotEmpty()) {
              "method.isEmpty() == true"
            }
            if (body == null) {
              require(!HttpMethod.requiresRequestBody(method)) {
                "method $method must have a request body."
              }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  7. android/guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
     * compare} methods unconditionally, the {@code ComparisonChain} implementation stops calling its
     * inputs' {@link Comparable#compareTo compareTo} and {@link Comparator#compare compare} methods as
     * soon as one of them returns a nonzero result. This optimization is typically important only in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/CharSinkTester.java

          String name, CharSinkFactory factory, String string, String desc) {
        TestSuite stringSuite = new TestSuite(name + " [" + desc + "]");
        for (Method method : testMethods) {
          stringSuite.addTest(new CharSinkTester(factory, string, name, desc, method));
        }
        return stringSuite;
      }
    
      private final ImmutableList<String> lines;
      private final ImmutableList<String> expectedLines;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * containing one element (the given set itself).
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on elements that are not mutually
       * comparable.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                            return false;
                        }
                    })
                    .map(Method::getName)
                    .toList();
    
            List<String> overriddenMethods = Stream.of(FileToRawModelMerger.class.getDeclaredMethods())
                    .map(Method::getName)
                    .filter(m -> m.startsWith("merge"))
                    .collect(Collectors.toList());
    
            assertTrue(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top