- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 484 for hashCode (0.05 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code ActivationFile}. * */ class ActivationFileTest { @Test void testHashCodeNullSafe() { new ActivationFile().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ActivationFile().equals(null)); new ActivationFile().equals(new ActivationFile()); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Activation}. * */ class ActivationTest { @Test void testHashCodeNullSafe() { new Activation().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Activation().equals(null)); new Activation().equals(new Activation()); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code CiManagement}. * */ class CiManagementTest { @Test void testHashCodeNullSafe() { new CiManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new CiManagement().equals(null)); new CiManagement().equals(new CiManagement()); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java
/** * Tests {@code DeploymentRepository}. * */ class DeploymentRepositoryTest { @Test void testHashCodeNullSafe() { new DeploymentRepository().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new DeploymentRepository().equals(null)); new DeploymentRepository().equals(new DeploymentRepository()); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Notifier}. * */ class NotifierTest { @Test void testHashCodeNullSafe() { new Notifier().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Notifier().equals(null)); new Notifier().equals(new Notifier()); } @Test void testEqualsIdentity() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (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() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RangeMap.java
* #asMapOfRanges()}. */ @Override boolean equals(@Nullable Object o); /** Returns {@code asMapOfRanges().hashCode()}. */ @Override int hashCode(); /** Returns a readable string representation of this range map. */ @Override String toString();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.4K bytes - Click Count (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; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (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; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (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; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0)