- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 141 for equality (0.04 sec)
-
android/guava/src/com/google/common/collect/ForwardingNavigableSet.java
* * <p>Each of the {@code standard} methods uses the set's comparator (or the natural ordering of the * elements, if there is no comparator) to test element equality. As a result, if the comparator is * not consistent with equals, some of the standard implementations may violate the {@code Set} * contract. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
* provide a better implementation than the input Collection, at least without dramatic changes * like copying it to a new Set—which might then test for element equality differently. */ @SuppressWarnings("UndefinedEquals") public boolean equals(@Nullable Object obj) { if (obj instanceof InPredicate) { InPredicate<?> that = (InPredicate<?>) obj;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/EndpointPair.java
// Why? The second half of condition2 requires that nodeV equals other.nodeU. // We already know that nodeU equals other.nodeU. Combined with the earlier statement, // and the transitive property of equality, this implies that nodeU equals nodeV. // If nodeU equals nodeV, condition1 == condition2, so checking condition1 is sufficient. return nodeV().equals(other.nodeV()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
} } public void testEqualsAndHashCode_different() { for (CacheBuilder<Object, Object> builder : cacheFactory().buildAllPermutations()) { // all caches should be different: instance equality new EqualsTester() .addEqualityGroup(builder.build(identityLoader())) .addEqualityGroup(builder.build(identityLoader())) .addEqualityGroup(builder.build(identityLoader()))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
final class ValuesImpl extends Maps.Values<K, Collection<V>> { ValuesImpl() { super(AsMap.this); } @Override /* * For discussion of equality in Multimap value collections, see the suppression for * UndefinedEquals in AbstractMapBasedMultimap. */ @SuppressWarnings("UndefinedEquals") public boolean remove(@Nullable Object o) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableSet.java
* * <p>Each of the {@code standard} methods uses the set's comparator (or the natural ordering of the * elements, if there is no comparator) to test element equality. As a result, if the comparator is * not consistent with equals, some of the standard implementations may violate the {@code Set} * contract. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FessUserTest.java
assertArrayEquals(permissions, user.getPermissions()); assertFalse(user.isEditable()); assertFalse(user.refresh()); } // Helper method to assert array equality private void assertArrayEquals(String[] expected, String[] actual) { if (expected == null && actual == null) { return; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A collection that supports order-independent equality, like {@link Set}, but may have duplicate * elements. A multiset is also sometimes called a <i>bag</i>. * * <p>Elements of a multiset that are equal to one another are referred to as <i>occurrences</i> of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 19.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
final class ValuesImpl extends Maps.Values<K, Collection<V>> { ValuesImpl() { super(AsMap.this); } @Override /* * For discussion of equality in Multimap value collections, see the suppression for * UndefinedEquals in AbstractMapBasedMultimap. */ @SuppressWarnings("UndefinedEquals") public boolean remove(@Nullable Object o) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
* ``` * Content-Type: text/html * Content-Length: 050 * ``` * * Applications that require semantically equal headers should convert them into a canonical form * before comparing them for equality. */ override fun equals(other: Any?): Boolean = commonEquals(other) override fun hashCode(): Int = commonHashCode() /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0)