- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 186 for equality (0.06 seconds)
-
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
.resolveType(subtype)); } public <T> void testWhere_mapFromBoundedWildcard() { Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture(); // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873 Type unused = new TypeResolver() .where( new TypeCapture<Map<Integer, T>>() {}.capture(),
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (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;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 26.6K bytes - Click Count (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. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java
public static boolean isVersionGreaterOrEqual(String modelVersion, String targetVersion) { if (modelVersion == null || targetVersion == null) { return false; } // Handle exact equality first if (modelVersion.equals(targetVersion)) { return true; } // For now, handle the specific cases we need if (MODEL_VERSION_4_1_0.equals(targetVersion)) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 9.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeResolverTest.java
.resolveType(subtype)); } public <T> void testWhere_mapFromBoundedWildcard() { Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture(); // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873 Type unused = new TypeResolver() .where( new TypeCapture<Map<Integer, T>>() {}.capture(),
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
src/bytes/example_test.go
// a less or equal b } if bytes.Compare(a, b) > 0 { // a greater b } if bytes.Compare(a, b) >= 0 { // a greater or equal b } // Prefer Equal to Compare for equality comparisons. if bytes.Equal(a, b) { // a equal b } if !bytes.Equal(a, b) { // a not equal b } } func ExampleCompare_search() { // Binary search to find a matching byte slice.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon May 12 16:07:54 GMT 2025 - 16.5K bytes - Click Count (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 9.5K bytes - Click Count (0) -
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()))
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 11.9K bytes - Click Count (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()))
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 11.9K bytes - Click Count (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> ofCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 19.5K bytes - Click Count (0)