- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 335 for equality (0.11 seconds)
-
android/guava/src/com/google/common/graph/StandardNetwork.java
@Override public Set<E> edgesConnecting(N nodeU, N nodeV) { NetworkConnections<N, E> connectionsU = checkedConnections(nodeU); if (!allowsSelfLoops && nodeU == nodeV) { // just an optimization, only check reference equality return ImmutableSet.of(); } checkArgument(containsNode(nodeV), NODE_NOT_IN_GRAPH, nodeV); return nodePairInvalidatableSet(connectionsU.edgesConnecting(nodeV), nodeU, nodeV); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/netbios/UniAddress.java
*/ @Override public int hashCode() { return this.addr.hashCode(); } /** * Compare two addresses for equality. Two <code>UniAddress</code>s are equal * if they are both <code>UniAddress</code>' and refer to the same IP address. */ @Override public boolean equals(final Object obj) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.3K 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 Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 9.5K bytes - Click Count (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()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 8K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
SecurityBlob right = new SecurityBlob(b); // Act & Assert assertTrue(left.equals(right), "Blobs with equal content should be equal"); assertTrue(right.equals(left), "Equality should be symmetric for identical content"); } // Demonstrates observed equals() asymmetry when this is shorter than argument @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
* signed. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link * java.util.Arrays#equals(byte[], byte[])}. * * @since 2.0 */ public static Comparator<byte[]> lexicographicalComparator() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
} else { NtlmPasswordAuthenticator.cloneInternal(to, from); } } /** * Compares two {@code NtlmPasswordAuthentication} objects for * equality. Two {@code NtlmPasswordAuthentication} objects are equal if * their caseless domain and username fields are equal and either both hashes are external and they are equal orCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.3K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.8K bytes - Click Count (0)