Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,516 for equalTo (0.21 sec)

  1. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * {@code C}:
       *
       * <ul>
       *   <li>If {@code C} explicitly implements {@link Object#equals}, the deserialized instance will
       *       be checked to be equal to the instance before serialization.
       *   <li>If {@code C} doesn't explicitly implement {@code equals} but instead inherits it from a
       *       superclass, no equality check is done on the deserialized instance because it's not clear
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationOS().equals(null));
    
            new ActivationOS().equals(new ActivationOS());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationOS thing = new ActivationOS();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new PluginConfiguration().equals(null));
    
            new PluginConfiguration().equals(new PluginConfiguration());
        }
    
        @Test
        void testEqualsIdentity() {
            PluginConfiguration thing = new PluginConfiguration();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ReportPlugin().equals(null));
    
            new ReportPlugin().equals(new ReportPlugin());
        }
    
        @Test
        void testEqualsIdentity() {
            ReportPlugin thing = new ReportPlugin();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Reporting().equals(null));
    
            new Reporting().equals(new Reporting());
        }
    
        @Test
        void testEqualsIdentity() {
            Reporting thing = new Reporting();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingObject.java

     *
     * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to
     * the backing object, but relies on {@code Object}'s implementation. This is necessary to preserve
     * the symmetry of {@code equals}. Custom definitions of equality are usually based on an interface,
     * such as {@code Set} or {@code List}, so that the implementation of {@code equals} can cast the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

            int hash = 17;
            hash = hash * 31 + patterns.hashCode();
    
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            // make sure IncludesArtifactFilter is not equal ExcludesArtifactFilter!
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Relocation().equals(null));
    
            new Relocation().equals(new Relocation());
        }
    
        @Test
        void testEqualsIdentity() {
            Relocation thing = new Relocation();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Contributor().equals(null));
    
            new Contributor().equals(new Contributor());
        }
    
        @Test
        void testEqualsIdentity() {
            Contributor thing = new Contributor();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Extension().equals(null));
    
            new Extension().equals(new Extension());
        }
    
        @Test
        void testEqualsIdentity() {
            Extension thing = new Extension();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top