- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 673 for entities (0.09 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java
assertEquals( "map.toString() incorrect", expectedToString(getMap().entrySet()), getMap().toString()); } private String expectedToString(Set<Entry<K, V>> entries) { Map<K, V> reference = new LinkedHashMap<>(); for (Entry<K, V> entry : entries) { reference.put(entry.getKey(), entry.getValue()); } return reference.toString(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
public static final class HashBiMapGenerator extends TestStringBiMapGenerator { @Override protected BiMap<String, String> create(Entry<String, String>[] entries) { BiMap<String, String> result = HashBiMap.create(); for (Entry<String, String> entry : entries) { result.put(entry.getKey(), entry.getValue()); } return result; } } @J2ktIncompatible @GwtIncompatible // suite
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
mapEntry(AnEnum.E, "May")); } @Override public final Map<AnEnum, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<AnEnum, String>[] array = (Entry<AnEnum, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<AnEnum, String> e = (Entry<AnEnum, String>) o; array[i++] = e; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
return put(entry.getKey(), entry.getValue()); } /** * Adds entries to the built multimap. * * @since 19.0 */ @CanIgnoreReturnValue public Builder<K, V> putAll(Iterable<? extends Entry<? extends K, ? extends V>> entries) { for (Entry<? extends K, ? extends V> entry : entries) { put(entry); } return this; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27.9K bytes - Viewed (0) -
tests/joins_test.go
home := &Building{Name: "relation_empty"} DB.Create(home) var entries []Building assert.NotPanics(t, func() { assert.NoError(t, DB.Debug().Preload("Owner.Furnitures"). Joins("Owner.Company"). Find(&entries).Error) }) AssertEqual(t, entries, []Building{{Model: home.Model, Name: "relation_empty", Owner: Owner{Company: Company{}}}}) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:58:13 UTC 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* if necessary. The returned map contains entries that were already cached, combined with newly * loaded entries; it will never contain null keys or values. * * <p>Caches loaded by a {@link CacheLoader} will issue a single request to {@link * CacheLoader#loadAll} for all keys which are not already present in the cache. All entries
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapDifference.java
* Returns an unmodifiable map containing the entries from the left map whose keys are not present * in the right map. */ Map<K, V> entriesOnlyOnLeft(); /** * Returns an unmodifiable map containing the entries from the right map whose keys are not * present in the left map. */ Map<K, V> entriesOnlyOnRight(); /** * Returns an unmodifiable map containing the entries that appear in both maps; that is, the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 04 13:28:27 UTC 2021 - 3.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java
assertNotNull(res.getClasspath(), "null classpath after compile transform"); assertEquals(3, res.getClasspath().size(), "compile classpath should have 3 entries"); } // ------------------------------------------------------------------------------------------ @Test void testRuntimeClasspathTransform() throws Exception { ClasspathContainer res;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
src/archive/tar/reader.go
if p.err != nil { return nil, p.err } spd = append(spd, sparseEntry{Offset: offset, Length: length}) } if s.isExtended()[0] > 0 { // There are more entries. Read an extension header and parse its entries. if _, err := mustReadFull(tr.r, blk[:]); err != nil { return nil, err } s = blk.toSparse() continue } return spd, nil // Done } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java
return copyToList(values); } @Override public final ListMultimap<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0)