Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for reflexivity (0.04 sec)

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

            return false;
          }
          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
      }
    
      /** Test class that violates reflexivity. It is not equal to itself */
      private static class NonReflexiveObject {
    
        @Override
        public boolean equals(@Nullable Object o) {
          return false;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
       * <p>In detail, this method asserts
       *
       * <ul>
       *   <li><i>reflexivity</i>: {@code comparator.compare(t, t) = 0} for all {@code t} in {@code
       *       valuesInExpectedOrder}; and
       *   <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RequestDataTest.java

            // Test equality
            assertTrue(data1.equals(data2));
            assertTrue(data2.equals(data1));
            assertEquals(data1.hashCode(), data2.hashCode());
    
            // Test reflexivity
            assertTrue(data1.equals(data1));
    
            // Test with null
            assertFalse(data1.equals(null));
    
            // Test with different class
            assertFalse(data1.equals("string"));
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

            return false;
          }
          if (aspect2 != other.aspect2) {
            return false;
          }
          return true;
        }
      }
    
      /** Test class that violates reflexivity. It is not equal to itself */
      private static class NonReflexiveObject {
    
        @Override
        public boolean equals(@Nullable Object o) {
          return false;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
       * <p>In detail, this method asserts
       *
       * <ul>
       *   <li><i>reflexivity</i>: {@code comparator.compare(t, t) = 0} for all {@code t} in {@code
       *       valuesInExpectedOrder}; and
       *   <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top