- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 508 for maps (0.02 sec)
-
guava/src/com/google/common/collect/ImmutableEnumMap.java
} @Override UnmodifiableIterator<Entry<K, V>> entryIterator() { return Maps.unmodifiableEntryIterator(delegate.entrySet().iterator()); } @Override Spliterator<Entry<K, V>> entrySpliterator() { return CollectSpliterators.map(delegate.entrySet().spliterator(), Maps::unmodifiableEntry); } @Override public void forEach(BiConsumer<? super K, ? super V> action) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
/** * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to * this range map are guaranteed to read through to the returned {@code Map}. * * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the * {@code Range} entries. * * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}. */ Map<Range<K>, V> asMapOfRanges();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
import com.google.common.collect.Maps; import com.google.common.collect.SetMultimap; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import com.google.common.testing.EqualsTester; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java
} } @Nonnull public static Map<String, String> toMap(Properties properties) { requireNonNull(properties, "properties"); HashMap<String, String> map = new HashMap<>(); for (String key : properties.stringPropertyNames()) { map.put(key, properties.getProperty(key)); } return map; } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
* Constructs a new bimap containing initial values from {@code map}. The bimap is created with an * initial capacity sufficient to hold the mappings in the specified map. */ public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create( Map<? extends K, ? extends V> map) { HashBiMap<K, V> bimap = create(map.size()); bimap.putAll(map); return bimap; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 36.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import java.util.Map.Entry; import java.util.SortedMap; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates sorted maps, containing sample elements, to be tested. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* * @throws NullPointerException if any key or value in {@code map} is null */ public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) { if ((map instanceof ImmutableMap) && !(map instanceof SortedMap)) { @SuppressWarnings("unchecked") // safe since map is not writable ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map; if (!kvMap.isPartialView()) { return kvMap; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
public void test_processFieldConfigs() { final FessFileTransformer transformer = createInstance(); final Map<String, String> params = Maps.of("foo", "cache", "bar", "overwrite", "baz", "cache|overwrite"); FieldConfigs fieldConfigs = new FieldConfigs(params); final Map<String, Object> dataMap = Map.of(// "foo", new String[] { "aaa", "bbb" }, // "bar", new String[] { "ccc", "ddd" }, //
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 04 06:20:49 UTC 2024 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
import com.google.common.collect.ImmutableMultimap; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.testing.NullPointerTester; import java.io.IOException; import java.util.Arrays; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import junit.framework.AssertionFailedError; import junit.framework.TestCase;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 11.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value")); } public void testBuilderWithExpectedKeysPositive() { ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builderWithExpectedKeys(1); builder.put("key", "value"); assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 25.4K bytes - Viewed (0)