- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 491 for hashCodes (0.05 sec)
-
android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java
Murmur3_128HashFunction other = (Murmur3_128HashFunction) object; return seed == other.seed; } return false; } @Override public int hashCode() { return getClass().hashCode() ^ seed; } private static final class Murmur3_128Hasher extends AbstractStreamingHasher { private static final int CHUNK_SIZE = 16; private static final long C1 = 0x87c37b91114253d5L;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
*/ public final <S extends @Nullable T> Wrapper<S> wrap(@ParametricNullness S reference) { return new Wrapper<>(this, reference); } /** * Wraps an object so that {@link #equals(Object)} and {@link #hashCode()} delegate to an {@link * Equivalence}. * * <p>For example, given an {@link Equivalence} for {@link String strings} named {@code equiv} * that tests equivalence using their lengths: *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 01:47:55 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Pair.java
return "{" + first + ", " + second + "}"; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((first == null) ? 0 : first.hashCode()); result = prime * result + ((second == null) ? 0 : second.hashCode()); return result; } @Override public boolean equals(final Object obj) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
return true; } } return false; } /* * (non-Javadoc) * * @see java.lang.Object#hashCode() */ @Override public int hashCode() { return this.oid.hashCode(); } /* * (non-Javadoc) * * @see java.lang.Object#toString() */ @Override public String toString() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
} return false; } // --------------------------------------------------------------------- @Override public int hashCode() { if (md == null) { return super.hashCode(); } StringBuilder hashString = new StringBuilder(128); hashString.append(md.groupId).append('|'); hashString.append(md.artifactId).append('|');Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
@Override boolean isPartialView() { return ImmutableMap.this.isPartialView(); } @Override public int hashCode() { // ImmutableSet.of(value).hashCode() == value.hashCode(), so the hashes are the same return ImmutableMap.this.hashCode(); } @Override UnmodifiableIterator<Entry<K, ImmutableSet<V>>> entryIterator() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
public class BaseComparable implements Comparable<BaseComparable>, Serializable { private final String s; public BaseComparable(String s) { this.s = s; } @Override public int hashCode() { // delegate to 's' return s.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other == null) { return false; } else if (other instanceof BaseComparable) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java
OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter())); assertFalse(filter1.equals(null)); assertTrue(filter1.equals(filter1)); assertEquals(filter1.hashCode(), filter1.hashCode()); assertFalse(filter1.equals(filter2)); assertFalse(filter2.equals(filter1)); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/base/CaseFormat.java
return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat); } return false; } @Override public int hashCode() { return sourceFormat.hashCode() ^ targetFormat.hashCode(); } @Override public String toString() { return sourceFormat + ".converterTo(" + targetFormat + ")"; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1); Smb2LeaseKey key2 = new Smb2LeaseKey(testBytes2); assertEquals(key1.hashCode(), key2.hashCode()); } @Test @DisplayName("Should generate different random keys") void testRandomKeyUniqueness() { Smb2LeaseKey key1 = new Smb2LeaseKey(); Smb2LeaseKey key2 = new Smb2LeaseKey(); assertNotEquals(key1, key2);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0)