- Sort Score
- Num 10 results
- Language All
Results 11 - 17 of 17 for UnhashableObject (0.35 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
} } public static class UnhashableElementsImmutableListGenerator extends TestUnhashableCollectionGenerator<List<UnhashableObject>> implements TestListGenerator<UnhashableObject> { @Override public List<UnhashableObject> create(UnhashableObject[] elements) { return ImmutableList.copyOf(elements); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 4.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
extends TestUnhashableCollectionGenerator<Collection<UnhashableObject>> { @Override public Collection<UnhashableObject> create(UnhashableObject[] elements) { ImmutableMap.Builder<Integer, UnhashableObject> builder = ImmutableMap.builder(); int key = 1; for (UnhashableObject value : elements) { builder.put(key++, value); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 8.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SingletonImmutableMapWithUnhashableValueMapInterfaceTest.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.testing.SampleElements.Unhashables; import com.google.common.collect.testing.UnhashableObject; import java.util.Map; import org.jspecify.annotations.NullUnmarked; @GwtIncompatible // GWT's ImmutableMap emulation is backed by java.util.HashMap. @NullUnmarked
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
return insertionOrder; } } public static class ImmutableSortedSetUnhashableGenerator extends TestUnhashableSetGenerator { @Override public Set<UnhashableObject> create(UnhashableObject[] elements) { return ImmutableSortedSet.copyOf(elements); } } public static class ImmutableSetAsListGenerator extends TestStringListGenerator { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (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();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
return insertionOrder; } } public static class ImmutableSortedSetUnhashableGenerator extends TestUnhashableSetGenerator { @Override public Set<UnhashableObject> create(UnhashableObject[] elements) { return ImmutableSortedSet.copyOf(elements); } } public static class ImmutableSetAsListGenerator extends TestStringListGenerator { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableMapWithUnhashableValueMapInterfaceTest.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.testing.SampleElements.Unhashables; import com.google.common.collect.testing.UnhashableObject; import java.util.Map; import org.jspecify.annotations.NullUnmarked; @GwtIncompatible // GWT's ImmutableMap emulation is backed by java.util.HashMap. @NullUnmarked
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0)