- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 148 for equality (0.16 seconds)
-
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> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
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);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
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> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
return isUpdated() && newInputs.length == 0; } /** * Sorts both the current inputs and new inputs arrays in place. * This ensures consistent ordering for comparison and equality operations. */ public void sort() { if (inputs != null) { Arrays.sort(inputs); } if (newInputs != null) { Arrays.sort(newInputs); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* reflected in that iterator. These iterators never throw {@link ConcurrentModificationException}. * * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link * Object#equals equals} method) to determine equality for keys or values. However, if {@link * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0) -
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 }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
.addEqualityGroup( newDelegatingListWithEquals(LIST2), newProxyWithSubHandler1(LIST2), // Makes sure type of handler doesn't affect equality newProxyWithSubHandler2(LIST2)) .addEqualityGroup(newDelegatingIterableWithEquals(LIST2)) // different interface .testEquals(); } @SuppressWarnings("unchecked") // proxy of List<String>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5.8K bytes - Click Count (0) -
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,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 17.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
.addEqualityGroup( newDelegatingListWithEquals(LIST2), newProxyWithSubHandler1(LIST2), // Makes sure type of handler doesn't affect equality newProxyWithSubHandler2(LIST2)) .addEqualityGroup(newDelegatingIterableWithEquals(LIST2)) // different interface .testEquals(); } @SuppressWarnings("unchecked") // proxy of List<String>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* reflected in that iterator. These iterators never throw {@link ConcurrentModificationException}. * * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link * Object#equals equals} method) to determine equality for keys or values. However, if {@link * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 51.7K bytes - Click Count (0)