- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for unhashable (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
expectedHashCode, getSet().hashCode()); } /** * Returns the {@link Method} instances for the test methods in this class which call {@code * hashCode()} on the set values so that set tests on unhashable objects can suppress it with * {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method[] getHashCodeMethods() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
expectedHashCode, getList().hashCode()); } /** * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getHashCodeMethod() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
expectedHashCode, getSet().hashCode()); } /** * Returns the {@link Method} instances for the test methods in this class which call {@code * hashCode()} on the set values so that set tests on unhashable objects can suppress it with * {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method[] getHashCodeMethods() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.Nullable; /** * An unhashable object to be used in testing as values in our collections. * * @author Regina O'Dell */ @GwtCompatible public class UnhashableObject implements Comparable<UnhashableObject> { private final int value;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Apr 10 20:12:40 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
expectedHashCode, getList().hashCode()); } /** * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getHashCodeMethod() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
suite.addTest( ListTestSuiteBuilder.using(new UnhashableElementsImmutableListGenerator()) .suppressing(ListHashCodeTester.getHashCodeMethod()) .named("ImmutableList, unhashable values") .withFeatures(CollectionSize.ANY, ALLOWS_NULL_QUERIES) .createTestSuite()); return suite; } // Creation tests public void testCreation_noArgs() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
suite.addTest( ListTestSuiteBuilder.using(new UnhashableElementsImmutableListGenerator()) .suppressing(ListHashCodeTester.getHashCodeMethod()) .named("ImmutableList, unhashable values") .withFeatures(CollectionSize.ANY, ALLOWS_NULL_QUERIES) .createTestSuite()); return suite; } // Creation tests public void testCreation_noArgs() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
.withFeatures( CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, CollectionFeature.ALLOWS_NULL_QUERIES) .named("ImmutableMap.values, unhashable") .createTestSuite()); suite.addTest( ListTestSuiteBuilder.using(new ImmutableMapKeyListGenerator()) .named("ImmutableMap.keySet.asList") .withFeatures(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
NavigableSetTestSuiteBuilder.using(new ImmutableSortedSetUnhashableGenerator()) .suppressing(SetHashCodeTester.getHashCodeMethods()) .named(ImmutableSortedSetTest.class.getName() + ", unhashable") .withFeatures( CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, CollectionFeature.ALLOWS_NULL_QUERIES) .createTestSuite());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
SampleElements<UnhashableObject> unhashables = new Unhashables(); Multimap<Integer, UnhashableObject> multimap = ImmutableMultimap.of(0, unhashables.e0()); assertEquals(1, multimap.get(0).size()); assertTrue(multimap.get(0).contains(unhashables.e0())); } public void testUnhashableMixedValues() { SampleElements<UnhashableObject> unhashables = new Unhashables(); Multimap<Integer, Object> multimap =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0)