- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for hashcode (0.07 seconds)
-
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
public int hashCode() { return runnable.hashCode(); } }); } public void testFailsToForwardEquals() { tester.includingEquals(); assertFailure( Runnable.class, runnable -> new ForwardingRunnable(runnable) { @Override public int hashCode() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
public int hashCode() { return runnable.hashCode(); } }); } public void testFailsToForwardEquals() { tester.includingEquals(); assertFailure( Runnable.class, runnable -> new ForwardingRunnable(runnable) { @Override public int hashCode() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
List<Object> tentativeArgs = new ArrayList<>(args); tentativeArgs.set(i, alternateArg); return createInstance(factory, tentativeArgs).hashCode() == createInstance(factory, args).hashCode(); } // distinctValues is a type-safe class-values mapping, but we don't have a type-safe data // structure to hold the mappings. @SuppressWarnings({"unchecked", "rawtypes"})
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ClassToInstanceMapTesting.java
this.value = value; } @Override public boolean equals(@Nullable Object obj) { return obj instanceof Impl && value == ((Impl) obj).value; } @Override public int hashCode() { return value; } @Override public String toString() { return Integer.toString(value); } } private ClassToInstanceMapTesting() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/base/Suppliers.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* private final String zipcode; * * public Address(String city, String state, String zipcode) {...} * * {@literal @Override} public boolean equals(Object obj) {...} * {@literal @Override} public int hashCode() {...} * ... * } * </pre> * * <p>No cascading checks are performed against the return values of methods unless the method is a * static factory method. Neither are semantics of mutation methods such as {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Suppliers.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* private final String zipcode; * * public Address(String city, String state, String zipcode) {...} * * {@literal @Override} public boolean equals(Object obj) {...} * {@literal @Override} public int hashCode() {...} * ... * } * </pre> * * <p>No cascading checks are performed against the return values of methods unless the method is a * static factory method. Neither are semantics of mutation methods such as {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
* representation is not guaranteed. */ @Override public String toString() { return MoreObjects.toStringHelper(this).addValue(toParsableString()).toString(); } @Override public int hashCode() { return Objects.hash( initialCapacity, maximumSize, maximumWeight, concurrencyLevel, keyStrength, valueStrength, recordStats,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0)