Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 2,382 for method (0.04 seconds)

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

  1. android/guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code
       * Optional.orElseGet}, except when {@code supplier} returns {@code null}. In this case this
       * method throws an exception, whereas the Java 8+ method returns the {@code null} to the caller.
       *
       * @throws NullPointerException if this optional's value is absent and the supplier returns {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

        }
    
        /**
         * Build method cache for a class.
         */
        private Map<String, MethodInfo> buildMethodCache(Class<?> beanType) {
            Map<String, MethodInfo> methodMap = new HashMap<>();
    
            for (Method method : beanType.getMethods()) {
                if (!Modifier.isStatic(method.getModifiers()) && method.getParameterCount() == 1) {
                    Type[] paramTypes = method.getGenericParameterTypes();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            }
            return value;
        }
    
        /**
         * Sets the search request parameters for this builder.
         * This method follows the builder pattern for method chaining.
         *
         * @param params the search request parameters to use
         * @return this QueryStringBuilder instance for method chaining
         */
        public QueryStringBuilder params(final SearchRequestParams params) {
            this.params = params;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. cmd/kms-handlers_test.go

    	tests := []struct {
    		name   string
    		method string
    		path   string
    		query  map[string]string
    	}{
    		{
    			name:   "GET status",
    			method: http.MethodGet,
    			path:   kmsStatusPath,
    		},
    		{
    			name:   "GET metrics",
    			method: http.MethodGet,
    			path:   kmsMetricsPath,
    		},
    		{
    			name:   "GET apis",
    			method: http.MethodGet,
    			path:   kmsAPIsPath,
    		},
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/transport/RequestTest.java

            // Test case for getCreditCost method
            int expectedCreditCost = 10;
            when(mockRequest.getCreditCost()).thenReturn(expectedCreditCost);
    
            int actualCreditCost = mockRequest.getCreditCost();
    
            assertEquals(expectedCreditCost, actualCreditCost, "Credit cost should match the mocked value.");
            verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

                    ? getAllStates()
                    : invokeListMethod(method, args);
              }
    
              private Set<List<Integer>> getAllStates() {
                return allStates;
              }
    
              private Object invokeListMethod(Method method, Object[] args) throws Throwable {
                try {
                  Object returnValue = method.invoke(delegate, args);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

            return false;
        }
    
        private boolean matchesTestMethodNamingConvention(Method method) {
            return method.getName().startsWith(TEST_METHOD_PREFIX) && Modifier.isStatic(method.getModifiers()) == false;
        }
    
        private boolean isAnnotated(Method method, Class<?> annotation) {
            for (Annotation presentAnnotation : method.getAnnotations()) {
                if (annotation.isAssignableFrom(presentAnnotation.getClass())) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/beans/BeanDesc.java

        /**
         * Returns the {@link MethodDesc} for the given parameter types.
         *
         * @param methodName
         *            The method name. Must not be {@literal null} or empty string
         * @param paramTypes
         *            The array of parameter types for the method
         * @return The {@link MethodDesc} for the given parameter types
         */
        MethodDesc getMethodDesc(String methodName, Class<?>... paramTypes);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/beans/PropertyDesc.java

        /**
         * Returns the getter method.
         *
         * @return the getter method
         */
        Method getReadMethod();
    
        /**
         * Returns whether the property has a getter method.
         *
         * @return whether the property has a getter method
         */
        boolean hasReadMethod();
    
        /**
         * Returns the setter method.
         *
         * @return the setter method
         */
        Method getWriteMethod();
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertEquals("", item.getNewInput());
    
            item.setNewInput(null);
            assertNull(item.getNewInput());
        }
    
        @Test
        public void test_getInput() {
            // Test getInput method
            StopwordsItem item1 = new StopwordsItem(1, "test");
            assertEquals("test", item1.getInput());
    
            StopwordsItem item2 = new StopwordsItem(2, "");
            assertEquals("", item2.getInput());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top