- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 554 for HashCode (0.12 sec)
-
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(@CheckForNull Object other) { if (other instanceof InternerFunction) { InternerFunction<?> that = (InternerFunction<?>) other;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
} private static class Foo implements Comparable<Foo> { final Integer value; Foo(int value) { this.value = value; } @Override public int hashCode() { return value.hashCode(); } @Override public boolean equals(@Nullable Object o) { return (o instanceof Foo) && ((Foo) o).value.equals(value); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.4K bytes - Viewed (0) -
android/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(@CheckForNull Object other) { if (other instanceof InternerFunction) { InternerFunction<?> that = (InternerFunction<?>) other;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt
assertThat(set.add(ConnectionSpec.CLEARTEXT)).isTrue() assertThat(set.add(allTlsVersions)).isTrue() assertThat(set.add(allCipherSuites)).isTrue() allCipherSuites.hashCode() assertThat(allCipherSuites.equals(null)).isFalse() assertThat(set.remove(ConnectionSpec.MODERN_TLS)).isTrue() assertThat(set.remove(ConnectionSpec.COMPATIBLE_TLS)) .isTrue()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.7K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code ActivationOS}. * */ class ActivationOSTest { @Test void testHashCodeNullSafe() { new ActivationOS().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ActivationOS().equals(null)); new ActivationOS().equals(new ActivationOS()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java
/** * Tests {@code PluginConfiguration}. * */ class PluginConfigurationTest { @Test void testHashCodeNullSafe() { new PluginConfiguration().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new PluginConfiguration().equals(null)); new PluginConfiguration().equals(new PluginConfiguration()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code ReportPlugin}. * */ class ReportPluginTest { @Test void testHashCodeNullSafe() { new ReportPlugin().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ReportPlugin().equals(null)); new ReportPlugin().equals(new ReportPlugin()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Reporting}. * */ class ReportingTest { @Test void testHashCodeNullSafe() { new Reporting().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Reporting().equals(null)); new Reporting().equals(new Reporting()); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
} }; } /** An implementation for {@link Set#hashCode()}. */ static int hashCodeImpl(Set<?> s) { int hashCode = 0; for (Object o : s) { hashCode += o != null ? o.hashCode() : 0; hashCode = ~~hashCode; // Needed to deal with unusual integer overflow in GWT. } return hashCode; } /** An implementation for {@link Set#equals(Object)}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
} ElementOrder<?> other = (ElementOrder<?>) obj; return (type == other.type) && Objects.equal(comparator, other.comparator); } @Override public int hashCode() { return Objects.hashCode(type, comparator); } @Override public String toString() { ToStringHelper helper = MoreObjects.toStringHelper(this).add("type", type); if (comparator != null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0)