- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 484 for hashCode (0.05 seconds)
-
android/guava/src/com/google/common/io/ByteSource.java
import com.google.common.base.Ascii; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import com.google.common.hash.Funnels; import com.google.common.hash.HashCode; import com.google.common.hash.HashFunction; import com.google.common.hash.Hasher; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
MethodIdentifier(Method method) { this.name = method.getName(); this.parameterTypes = Arrays.asList(method.getParameterTypes()); } @Override public int hashCode() { return Objects.hash(name, parameterTypes); } @Override public boolean equals(@Nullable Object o) { if (o instanceof MethodIdentifier) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/GeneralRange.java
&& Objects.equals(getLowerEndpoint(), r.getLowerEndpoint()) && Objects.equals(getUpperEndpoint(), r.getUpperEndpoint()); } return false; } @Override public int hashCode() { return Objects.hash( comparator, getLowerEndpoint(), getLowerBoundType(), getUpperEndpoint(), getUpperBoundType()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
} } return super.equals(object); } // copied to make sure not to use the GWT-emulated version @Override public int hashCode() { return Sets.hashCodeImpl(this); } @GwtIncompatible @J2ktIncompatible private static final class SerializedForm<C extends Comparable> implements Serializable { final Range<C> range;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
// We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (int value : VALUES) { assertThat(Ints.hashCode(value)).isEqualTo(Integer.hashCode(value)); } } public void testCheckedCast() { for (int value : VALUES) { assertThat(Ints.checkedCast((long) value)).isEqualTo(value); } assertCastFails(GREATEST + 1L);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
// We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (short value : VALUES) { assertThat(Shorts.hashCode(value)).isEqualTo(Short.hashCode(value)); } } public void testCheckedCast() { for (short value : VALUES) { assertThat(Shorts.checkedCast((long) value)).isEqualTo(value); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 27.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
* before comparing them for equality. */ override fun equals(other: Any?): Boolean = commonEquals(other) override fun hashCode(): Int = commonHashCode() /** * Returns header names and values. The names and values are separated by `: ` and each pair is * followed by a newline character `\n`. *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 17.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
} WrapModelSource that = (WrapModelSource) o; return Objects.equals(modelSource, that.modelSource); } @Override public int hashCode() { return Objects.hashCode(modelSource); } } class BuildSession implements AutoCloseable { private final ProjectBuildingRequest request; private final InternalSession session;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 51.8K bytes - Click Count (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
* other}. */ @Override public int compareTo(UnsignedInteger other) { checkNotNull(other); return compare(value, other.value); } @Override public int hashCode() { return value; } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof UnsignedInteger) { UnsignedInteger other = (UnsignedInteger) obj;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0)