Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for equality (0.07 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            FessTimeResourceProvider provider2 = new FessTimeResourceProvider(mockConfig);
    
            // Test basic object equality
            assertNotSame(provider1, provider2);
            assertEquals(provider1, provider1); // Self equality
            assertFalse(provider1.equals(null)); // Null check
            assertFalse(provider1.equals("string")); // Type check
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMaker.java

     * interface. It does not permit null keys or values.
     *
     * <p><b>Note:</b> by default, the returned map uses equality comparisons (the {@link Object#equals
     * equals} method) to determine equality for keys or values. However, if {@link #weakKeys} was
     * specified, the map uses identity ({@code ==}) comparisons instead for keys. Likewise, if {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      /**
       * Sets the default value for {@code type}. The default value isn't used in testing {@link
       * Object#equals} because more than one sample instances are needed for testing inequality. To set
       * distinct values for equality testing, use {@link #setDistinctValues} instead.
       */
      @CanIgnoreReturnValue
      public <T> ClassSanityTester setDefault(Class<T> type, T value) {
        nullPointerTester.setDefault(type, value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, {@code C} is skipped for equality test.
       *   <li>Equality test is not performed on method return values unless the method is a visible
       *       static factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      /**
       * Sets the default value for {@code type}. The default value isn't used in testing {@link
       * Object#equals} because more than one sample instances are needed for testing inequality. To set
       * distinct values for equality testing, use {@link #setDistinctValues} instead.
       */
      @CanIgnoreReturnValue
      public <T> ClassSanityTester setDefault(Class<T> type, T value) {
        nullPointerTester.setDefault(type, value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMap.java

     *
     * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equals} to test
     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as a {@code SortedMap} whose comparator is
     * not consistent with {@code equals}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
       * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
       * verifies hashCode for valid objects
       */
      public void testTestEqualsEqualsObjects() {
        equalsTester.addEqualityGroup(reference, equalObject1, equalObject2);
        equalsTester.testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/PairedStats.java

          checkState(yStats.sumOfSquaresOfDeltas() > 0.0);
          return LinearTransformation.vertical(xStats.mean());
        }
      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This tests exact equality of the calculated statistics, including the floating
       * point values. Two instances are guaranteed to be considered equal if one is copied from the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Table.java

      boolean isEmpty();
    
      /** Returns the number of row key / column key / value mappings in the table. */
      int size();
    
      /**
       * Compares the specified object with this table for equality. Two tables are equal when their
       * cell views, as returned by {@link #cellSet}, are equal.
       */
      @Override
      boolean equals(@Nullable Object obj);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    /**
     * Tests for {@link FreshValueGenerator}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class FreshValueGeneratorTest extends TestCase {
    
      @AndroidIncompatible // problem with equality of Type objects?
      public void testFreshInstance() {
        assertFreshInstances(
            String.class,
            CharSequence.class,
            Appendable.class,
            StringBuffer.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top