- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 484 for hashCode (0.05 seconds)
-
guava/src/com/google/common/collect/UsingToStringOrdering.java
@Override public int compare(Object left, Object right) { return left.toString().compareTo(right.toString()); } // preserve singleton-ness, so equals() and hashCode() work correctly private Object readResolve() { return INSTANCE; } @Override public String toString() { return "Ordering.usingToString()"; } private UsingToStringOrdering() {}
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
return "26"; } /** Helper assertion comparing two maps */ private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { assertEquals(expected, map); assertEquals(expected.hashCode(), map.hashCode()); assertEquals(expected.entrySet(), map.entrySet()); // Assert that expectedValues > mapValues and that // mapValues > expectedValues; i.e. that expectedValues == mapValues.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Longs.java
/** * Returns a hash code for {@code value}; obsolete alternative to {@link Long#hashCode(long)}. * * @param value a primitive {@code long} value * @return a hash code for the value */ @InlineMe(replacement = "Long.hashCode(value)") public static int hashCode(long value) { return Long.hashCode(value); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 29K bytes - Click Count (0) -
guava/src/com/google/common/primitives/Floats.java
/** * Returns a hash code for {@code value}; obsolete alternative to {@link Float#hashCode(float)}. * * @param value a primitive {@code float} value * @return a hash code for the value */ @InlineMe(replacement = "Float.hashCode(value)") public static int hashCode(float value) { return Float.hashCode(value); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
assertSame(not, pool.intern(not)); } private static final class MyInt { private final int i; MyInt(int i) { this.i = i; } @Override public int hashCode() { return i; } @Override public boolean equals(Object o) { return o instanceof MyInt && ((MyInt) o).i == i; } } public void testAsFunction_simplistic() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 17:02:07 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Parameter.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 4.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 6.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java
return mojoDescriptor.getPluginDescriptor().getPlugin(); } @Override public String toString() { return "ExecutionPlanItem{" + mojoExecution.toString() + "}@" + Integer.toHexString(hashCode()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FilteredKeySetMultimap.java
} @Override Set<Entry<K, V>> createEntries() { return new EntrySet(); } private final class EntrySet extends Entries implements Set<Entry<K, V>> { @Override public int hashCode() { return Sets.hashCodeImpl(this); } @Override public boolean equals(@Nullable Object o) { return Sets.equalsImpl(this, o); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 2.1K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Relocation}. * */ class RelocationTest { @Test void testHashCodeNullSafe() { new Relocation().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Relocation().equals(null)); new Relocation().equals(new Relocation()); } @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)