Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for reflexivity (0.05 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 Sep 05 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            CharMappingItem item3 = new CharMappingItem(3L, inputs3, "output");
            CharMappingItem item4 = new CharMappingItem(4L, inputs1, "different");
    
            // Test reflexivity
            assertTrue(item1.equals(item1));
    
            // Test symmetry and arrays with different order
            assertTrue(item1.equals(item2));
            assertTrue(item2.equals(item1));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top