Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 2,425 for Method (0.43 sec)

  1. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

                      + " should override that method.\n"
                      + "(An override that delegates to the supermethod is fine.)\n"
                      + "%s has no such override despite inheriting writeReplace() from %s",
                  clazz.getName(), supersWithPackagePrivateWriteReplace.get().getName())
              .fail();
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

         * <p>
         * This method is called by Maven during initialization to collect all custom enum values
         * that should be registered. The returned collection should contain all the enum values
         * that this provider wants to contribute.
         * <p>
         * The values returned by this method should be created using the appropriate factory methods
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java

        // -----------/
        // - Methods -/
        // -----------/
    
        public MavenXpp3Writer() {
            this(false);
        }
    
        protected MavenXpp3Writer(boolean addLocationInformation) {
            delegate.setAddLocationInformation(addLocationInformation);
        }
    
        /**
         * Method setFileComment.
         *
         * @param fileComment a fileComment object.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link SmbFilenameFilter}. Since the interface only defines
     * a single method, the tests simply ensure that the lambda expression
     * correctly implements the method and that any exception is propagated.
     */
    class SmbFilenameFilterTest {
    
        @Test
        void acceptReturnsTrueWhenNameMatches() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE, FIELD})
    @NullMarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 02 18:21:28 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DosFileFilterTest.java

         * This test covers various combinations of file attributes and filter attributes
         * to ensure the bitwise logic is correctly implemented.
         *
         * @param filterAttributes The attributes set for the filter.
         * @param fileAttributes The attributes of the mock file.
         * @param expectedResult The expected outcome of the accept method.
         * @throws SmbException If an SMB error occurs.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ValueGraph.java

       * this graph.
       *
       * <p>This is equal to the union of {@link #predecessors(Object)} and {@link #successors(Object)}.
       *
       * <p>If {@code node} is removed from the graph after this method is called, the {@code Set}
       * {@code view} returned by this method will be invalidated, and will throw {@code
       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. android/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) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertFalse(info3.equals(info1));
        }
    
        @Test
        @DisplayName("Test equals method with same object")
        void testEqualsWithSameObject() {
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            assertTrue(info.equals(info));
        }
    
        @Test
        @DisplayName("Test equals method with different object type")
        void testEqualsWithDifferentObjectType() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithMethods.java

        public JavaClassWithMethods(String value) {
        }
    
        /**
         * A method that returns String.
         */
        String stringMethod(String stringParam) {
            return "value";
        }
    
        /**
         * A method that returns void.
         */
        void voidMethod() {
        }
    
        /**
         * A method that returns a reference type.
         */
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 717 bytes
    - Viewed (0)
Back to top