- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 484 for hashCode (0.04 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java
Objects.equals(parameters, that.parameters) && Objects.equals(returnType, that.returnType); } @Override public int hashCode() { return Objects.hash(super.hashCode(), name, ownerClass, parameters, returnType); } public ClassMetaData getOwnerClass() { return ownerClass; } public TypeMetaData getReturnType() {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
RangeMap<?, ?> rangeMap = (RangeMap<?, ?>) o; return asMapOfRanges().equals(rangeMap.asMapOfRanges()); } return false; } @Override public int hashCode() { return asMapOfRanges().hashCode(); } @Override public String toString() { return asMapOfRanges().toString(); } class SubRangeMapAsMap extends AbstractMap<Range<K>, V> {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 7.5K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
ArtifactVersion v1 = newArtifactVersion("1"); ArtifactVersion v2 = newArtifactVersion("1.0"); assertTrue(v1.equals(v2), "Expected " + v1 + " to equal " + v2); assertEquals(v1.hashCode(), v2.hashCode()); } @Test void testEqualsNullSafe() { assertFalse(newArtifactVersion("1").equals(null)); } @Test void testEqualsTypeSafe() {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableList.java
return Lists.equalsImpl(this, obj); } @Override public int hashCode() { int hashCode = 1; int n = size(); for (int i = 0; i < n; i++) { hashCode = 31 * hashCode + get(i).hashCode(); hashCode = ~~hashCode; // needed to deal with GWT integer overflow } return hashCode; } /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 30.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
* Content-Type header. */ override fun toString(): String = mediaType override fun equals(other: Any?): Boolean = other is MediaType && other.mediaType == mediaType override fun hashCode(): Int = mediaType.hashCode() companion object { private const val TOKEN = "([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)" private const val QUOTED = "\"([^\"]*)\"" private val TYPE_SUBTYPE = Regex("$TOKEN/$TOKEN")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:08 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
@Override public boolean equals(@Nullable Object o) { assertTrue(Thread.holdsLock(mutex)); return delegate.equals(o); } @Override public int hashCode() { assertTrue(Thread.holdsLock(mutex)); return delegate.hashCode(); } @Override public int size() { assertTrue(Thread.holdsLock(mutex)); return delegate.size(); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ByFunctionOrdering.java
ByFunctionOrdering<?, ?> that = (ByFunctionOrdering<?, ?>) object; return this.function.equals(that.function) && this.ordering.equals(that.ordering); } return false; } @Override public int hashCode() { return Objects.hash(function, ordering); } @Override public String toString() { return ordering + ".onResultOf(" + function + ")"; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 2.3K bytes - Click Count (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
<version>1.2.0+</version> <comment>Generated hashCode() and equals() based on identifier also calls its super, which breaks comparison </comment> <code> <![CDATA[ /** * Computes a hash value based on {@link #getType()} and {@link #getProvides()} values. */ public int hashCode() { return java.util.Objects.hash(getType(), getProvides());
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/src/com/google/common/collect/Interners.java
this.interner = interner; } @Override public E apply(E input) { return interner.intern(input); } @Override public int hashCode() { return interner.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other instanceof InternerFunction) { InternerFunction<?> that = (InternerFunction<?>) other;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 6K bytes - Click Count (0)