- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,077 for asdict (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
public void testBuilderPutAllIterable() { ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); builder.putAll("foo", Arrays.asList(1, 2, 3)); builder.putAll("bar", Arrays.asList(4, 5)); builder.putAll("foo", Arrays.asList(6, 7)); Multimap<String, Integer> multimap = builder.build(); assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static java.util.Arrays.asList; import com.google.common.base.Function; import com.google.common.collect.testing.CollectionTestSuiteBuilder; import com.google.common.collect.testing.MinimalCollection;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.8K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static java.util.Arrays.asList; import com.google.common.base.Function; import com.google.common.collect.testing.QueueTestSuiteBuilder; import com.google.common.collect.testing.TestStringQueueGenerator;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapDifference.java
*/ @Override boolean equals(@Nullable Object object); /** * Returns the hash code for this instance. This is defined as the hash code of * * {@snippet : * Arrays.asList(entriesOnlyOnLeft(), entriesOnlyOnRight(), * entriesInCommon(), entriesDiffering()) * } */ @Override int hashCode(); /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Update first directory cache List<SmbFile> files1 = Arrays.asList(mockFile1); directoryLeaseManager.updateDirectoryCache(dir1, files1); // Update second directory cache List<SmbFile> files2 = Arrays.asList(mockFile2); directoryLeaseManager.updateDirectoryCache(dir2, files2); // Verify both caches are independentRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.features.CollectionSize; import java.util.ArrayList; import java.util.Collection; import java.util.List;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java
* limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.BiMap; import com.google.common.collect.ImmutableBiMap; import java.util.LinkedHashMap; import java.util.Map;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableSet.java
* @author Nick Kralevich */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that with // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes. final transient E element; SingletonImmutableSet(E element) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Set<Object> expected = new HashMap<>(cache.asMap()).keySet(); assertThat(keys).containsExactlyElementsIn(expected); assertThat(keys.toArray()).asList().containsExactlyElementsIn(expected); assertThat(keys.toArray(new Object[0])).asList().containsExactlyElementsIn(expected); new EqualsTester() .addEqualityGroup(cache.asMap().keySet(), keys) .addEqualityGroup(ImmutableSet.of())Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
* might be null, or you need support for {@link List#set(int, Object)}, use {@link * Arrays#asList}. * * <p>Note that even when you do need the ability to add or remove, this method provides only a * tiny bit of syntactic sugar for {@code new ArrayList<>(}{@link Arrays#asList asList}{@code * (...))}, or for creating an empty list then calling {@link Collections#addAll}. This method isRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.6K bytes - Viewed (0)