Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1331 - 1340 of 2,267 for Methods (0.47 sec)

  1. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

            return type;
        }
    
        /**
         * Sets the highlighting type with fluent interface.
         *
         * @param type the highlighting type to set
         * @return this HighlightInfo instance for method chaining
         */
        public HighlightInfo type(final String type) {
            this.type = type;
            return this;
        }
    
        /**
         * Gets the fragment size.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            assertEquals("Invalid cron expression format", violation.getMessage());
        }
    
        // Test annotation on method parameter
        public void test_annotationOnMethod() throws Exception {
            Method method = TestService.class.getDeclaredMethod("scheduledTask", String.class);
            Annotation[][] paramAnnotations = method.getParameterAnnotations();
    
            assertEquals(1, paramAnnotations.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

            }
        }
    
        /**
         * Test close() method
         */
        @Test
        void testClose() throws CIFSException {
            // Execute
            watchHandle.close();
    
            // Verify close was called
            verify(watchHandle, times(1)).close();
        }
    
        /**
         * Test close() method throwing CIFSException
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

      }
    
      public void testConcreteTypeRejected() {
        assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {});
      }
    
      public <A, B> void testEquals() throws Exception {
        Method method = TypeParameterTest.class.getDeclaredMethod("testEquals");
        new EqualsTester()
            .addEqualityGroup(new TypeParameter<A>() {}, new TypeParameter<A>() {})
            .addEqualityGroup(new TypeParameter<B>() {})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. tests/connection_test.go

    			return err
    		}
    		return nil
    	})
    	if err != nil {
    		t.Errorf(fmt.Sprintf("WithSingleConnection should work, but got err %v", err))
    	}
    
    	if actualName != expectedName {
    		t.Errorf("WithSingleConnection() method should get correct value, expect: %v, got %v", expectedName, actualName)
    	}
    }
    
    func getSetSQL(driverName string) (string, string) {
    	switch driverName {
    	case mysql.Dialector{}.Name():
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jan 28 14:16:42 UTC 2022
    - 963 bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/TempFileCreator.java

             * here, too, so that we don't need to also suppress an AndroidApiChecker error.
             */
    
            Method currentMethod = processHandleClass.getMethod("current");
            Method infoMethod = processHandleClass.getMethod("info");
            Method userMethod = processHandleInfoClass.getMethod("user");
            Method orElseMethod = optionalClass.getMethod("orElse", Object.class);
    
            Object current = currentMethod.invoke(null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeBasedTable.java

     * comparators for the row keys and the column keys, or you may use natural ordering for both.
     *
     * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method
     * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link
     * Table} interface.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            assertArrayEquals(targetName.getBytes(StandardCharsets.UTF_16LE), avTargetName.getRaw(),
                    "Raw bytes should be UTF-16LE encoded string");
        }
    
        /**
         * Test getTargetName() method with a string input.
         * Verifies that the original string is returned after encoding and decoding.
         */
        @Test
        void testGetTargetNameFromStringConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * someone still manages to pass null, let's continue to have the method work.
       *
       * (PatternFilenameFilter is of course one of those classes that shouldn't be a publicly visible
       * class to begin with but rather something returned from a static factory method whose declared
       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (1)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSubListOriginalListSetAffectsSubListMethod() {
        return getMethod(ListSubListTester.class, "testSubList_originalListSetAffectsSubList");
      }
    
      /**
       * Returns the {@link Method} instance for {@link
       * #testSubList_originalListSetAffectsSubListLargeList()} so that tests of {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top