- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 491 for hashCodes (0.07 sec)
-
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(); } @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
@Test void testHashCode() { ArtifactVersion v1 = newArtifactVersion("1"); ArtifactVersion v2 = newArtifactVersion("1.0"); assertTrue(v1.equals(v2)); assertEquals(v1.hashCode(), v2.hashCode()); } @Test void testEqualsNullSafe() { assertFalse(newArtifactVersion("1").equals(null)); } @Test void testEqualsTypeSafe() {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
public long getTreeNum() { return this.treeNum; } /** * {@inheritDoc} * * @see java.lang.Object#hashCode() */ @Override public int hashCode() { return this.share.hashCode() + 7 * this.service.hashCode(); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
* Character#hashCode(char)}. * * @param value a primitive {@code char} value * @return a hash code for the value */ @InlineMe(replacement = "Character.hashCode(value)") @InlineMeValidationDisabled( "The hash code of a char is the int version of the char itself, so it's simplest to return" + " that.") public static int hashCode(char value) { return value; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* * @param value a primitive {@code short} value * @return a hash code for the value */ @InlineMe(replacement = "Short.hashCode(value)") @InlineMeValidationDisabled( "The hash code of a short is the int version of the short itself, so it's simplest to return" + " that.") public static int hashCode(short value) { return value; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* * @param value a primitive {@code short} value * @return a hash code for the value */ @InlineMe(replacement = "Short.hashCode(value)") @InlineMeValidationDisabled( "The hash code of a short is the int version of the short itself, so it's simplest to return" + " that.") public static int hashCode(short value) { return value; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
assertTrue(map.entrySet().contains(immutableEntry("a", new IntHolder(3)))); Map<String, Integer> intMap = ImmutableMap.of("a", 3, "b", 2); assertEquals(intMap.hashCode(), map.entrySet().hashCode()); assertEquals(intMap.hashCode(), map.hashCode()); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testViewSerialization() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (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());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
} @Override public boolean equals(@Nullable Object o) { assertTrue(Thread.holdsLock(mutex)); return super.equals(o); } @Override public int hashCode() { assertTrue(Thread.holdsLock(mutex)); return super.hashCode(); } @Override public boolean add(@Nullable E o) { assertTrue(Thread.holdsLock(mutex)); return super.add(o); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.4K bytes - Viewed (0)