- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 490 for HashCode (0.04 sec)
-
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/src/com/google/common/collect/ForwardingSet.java
protected abstract Set<E> delegate(); @Override public boolean equals(@Nullable Object object) { return object == this || delegate().equals(object); } @Override public int hashCode() { return delegate().hashCode(); } /** * A sensible definition of {@link #removeAll} in terms of {@link #iterator} and {@link #remove}.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.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) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java
@Nullable RequestTrace getTrace(); /** * Returns a hashcode value for this request, based on all significant fields. * Implementations must ensure that if two requests are equal according to * {@link #equals(Object)}, they have the same hashcode. * * @return a hash code value for this request */ @Override int hashCode(); /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
UnhashableObject that = (UnhashableObject) object; return this.value == that.value; } return false; } @Override public int hashCode() { throw new UnsupportedOperationException(); } // needed because otherwise Object.toString() calls hashCode() @Override public String toString() { return "DontHashMe" + value; } @Override public int compareTo(UnhashableObject o) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Apr 10 20:12:40 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode"); assertThat(MethodUtil.isEqualsMethod(hashCodeMethod), is(not(true))); } /** * */ @Test public void testIsHashCodeMethod() { final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode"); assertThat(MethodUtil.isHashCodeMethod(hashCodeMethod), is(true));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
} this.addr = addr; } /** * Return the IP address of this address as a 32 bit integer. */ @Override public int hashCode() { return 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. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
guava/src/com/google/common/base/FunctionalEquivalence.java
return function.equals(that.function) && resultEquivalence.equals(that.resultEquivalence); } return false; } @Override public int hashCode() { return Objects.hashCode(function, resultEquivalence); } @Override public String toString() { return resultEquivalence + ".onResultOf(" + function + ")"; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 2.3K bytes - Viewed (0)