Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 594 for EQUAL (0.02 seconds)

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

          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Collections2.java

       * first permutation will be in ascending order, and the last will be in descending order.
       *
       * <p>Elements that compare equal are considered equal and no new permutations are created by
       * swapping them.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java

        }
    
        @Test
        void testEqualsIdentity() {
            IssueManagement thing = new IssueManagement();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new IssueManagement().toString());
        }
    
        @Test
        public void testToStringNotNonsense() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java

            new MailingList().equals(new MailingList());
        }
    
        @Test
        void testEqualsIdentity() {
            MailingList thing = new MailingList();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new MailingList().toString());
        }
    
        @Test
        public void testToStringNotNonsense() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          aa.lazySet(i, VALUES[i]);
          assertBitEquals(VALUES[i], aa.get(i));
          aa.lazySet(i, -3.0);
          assertBitEquals(-3.0, aa.get(i));
        }
      }
    
      /** compareAndSet succeeds in changing value if equal to expected else fails */
      public void testCompareAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            assertEquals(auth1, auth2, "Authenticators with same credentials should be equal");
            assertNotEquals(auth1, auth3, "Authenticators with different passwords should not be equal");
        }
    
        @Test
        public void testMultipleSecureWipes() {
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "password");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java

        }
    
        @Test
        void testEqualsIdentity() {
            ActivationFile thing = new ActivationFile();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new ActivationFile().toString());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java

            new Activation().equals(new Activation());
        }
    
        @Test
        void testEqualsIdentity() {
            Activation thing = new Activation();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Activation().toString());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java

            new CiManagement().equals(new CiManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            CiManagement thing = new CiManagement();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new CiManagement().toString());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java

        }
    
        @Test
        void testEqualsIdentity() {
            DeploymentRepository thing = new DeploymentRepository();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new DeploymentRepository().toString());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top