- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 680 for maps (0.03 seconds)
-
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
} /** * Implements {@code Multimap.put()} -- and no other methods -- for a {@code Map} by ignoring all * but the latest value for each key. This class exists only so that we can use {@link * MultimapsCollectionTest#populateMultimapForGet(Multimap, String[])} and similar methods to * populate a map to be passed to {@link Multimaps#forMap(Map)}. All tests should run against the * result of {@link #build()}. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
} public void testCreateFromMap() { /* Test with non-empty Map. */ Map<Currency, String> map = ImmutableMap.of( Currency.DOLLAR, "dollar", Currency.PESO, "peso", Currency.FRANC, "franc"); EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); assertThat(bimap.get(Currency.DOLLAR)).isEqualTo("dollar");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/base/CharMatcher.java
@VisibleForTesting static final class Whitespace extends NamedFastMatcher { // TABLE is a precomputed hashset of whitespace characters. MULTIPLIER serves as a hash function // whose key property is that it maps 25 characters into the 32-slot table without collision. // Basically this is an opportunistic fast implementation as opposed to "good code". For most // other use-cases, the reduction in readability isn't worth it.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 54.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
@VisibleForTesting @Nullable Map<K, V> delegateOrNull() { if (table instanceof Map) { return (Map<K, V>) table; } return null; } Map<K, V> createHashFloodingResistantDelegate(int tableSize) { return new LinkedHashMap<>(tableSize, 1.0f); } @CanIgnoreReturnValue Map<K, V> convertToHashFloodingResistantImplementation() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
doc/go_spec.html
</p> <p> A new, empty map value is made using the built-in function <a href="#Making_slices_maps_and_channels"><code>make</code></a>, which takes the map type and an optional capacity hint as arguments: </p> <pre> make(map[string]int) make(map[string]int, 100) </pre> <p> The initial capacity does not bound its size: maps grow to accommodate the number of items
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1) -
guava/src/com/google/common/base/Converter.java
* #reverse reverse} views of these. * <li>Convert between specific preset values using {@link * com.google.common.collect.Maps#asConverter Maps.asConverter}. For example, use this to * create a "fake" converter for a unit test. It is unnecessary (and confusing) to <i>mock</i> * the {@code Converter} type using a mocking framework.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
map.put("bar", 2); map.put("quux", 3); map.remove("bar"); assertThat(map.entrySet()) .containsExactly(immutableEntry("foo", 1), immutableEntry("quux", 3)) .inOrder(); } public void testInsertionOrderAfterRemoveLast() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); map.remove("quux");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; import com.google.common.collect.Maps; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.ArrayDeque; import java.util.Collection; import java.util.Deque; import java.util.Iterator; import java.util.Map; import java.util.Objects; import java.util.Queue; import java.util.Set; import org.jspecify.annotations.Nullable;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMultimap.java
} } Iterator<V> valueIterator() { return Maps.valueIterator(entries().iterator()); } Spliterator<V> valueSpliterator() { return Spliterators.spliterator(valueIterator(), size(), 0); } @LazyInit private transient @Nullable Map<K, Collection<V>> asMap; @Override public Map<K, Collection<V>> asMap() { Map<K, Collection<V>> result = asMap;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 7K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.28.md
## Changes by Kind ### API Change - Fixed a bug where CEL expressions in CRD validation rules would incorrectly compute a high estimated cost for functions that return strings, lists or maps.
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Fri Sep 05 03:47:18 GMT 2025 - 456.9K bytes - Click Count (1)