- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 112 for Maps (0.03 sec)
-
src/main/java/org/codelibs/core/collection/Maps.java
* @return a {@literal Maps} for constructing a {@link ConcurrentHashMap} with the specified key and value */ public static <KEY, VALUE> Maps<KEY, VALUE> concurrentHashMap(final KEY key, final VALUE value) { return new Maps<>(new ConcurrentHashMap<KEY, VALUE>()).$(key, value); } /** * Returns a {@literal Maps} for constructing a {@link HashMap} with the specified key and value.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapDifference.java
/** * An object representing the differences between two maps. * * @author Kevin Bourrillion * @since 2.0 */ @DoNotMock("Use Maps.difference") @GwtCompatible public interface MapDifference<K extends @Nullable Object, V extends @Nullable Object> { /** * Returns {@code true} if there are no differences between the two maps; that is, if the maps are * equal. */ boolean areEqual(); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
abstract Map<String, Integer> createUnfiltered(); public void testFilteredKeysIllegalPut() { Map<String, Integer> unfiltered = createUnfiltered(); Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3); filtered.put("a", 1); filtered.put("b", 2); assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
abstract Map<String, Integer> createUnfiltered(); public void testFilteredKeysIllegalPut() { Map<String, Integer> unfiltered = createUnfiltered(); Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3); filtered.put("a", 1); filtered.put("b", 2); assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.util; import java.util.Collections; import java.util.Map; import org.apache.groovy.util.Maps; import org.codelibs.fess.unit.UnitFessTestCase; public class FieldConfigsTest extends UnitFessTestCase { public void test_empty() { final FieldConfigs fieldConfigs = new FieldConfigs(Collections.emptyMap());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
} return Maps.immutableEnumMap(map); } } @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( MapTestSuiteBuilder.using(new ImmutableEnumMapGenerator()) .named("Maps.immutableEnumMap")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
} return Maps.immutableEnumMap(map); } } @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( MapTestSuiteBuilder.using(new ImmutableEnumMapGenerator()) .named("Maps.immutableEnumMap")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java
*/ package com.google.common.collect; import static com.google.common.collect.Maps.transformValues; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import com.google.common.base.Functions; import java.util.SortedMap; import org.jspecify.annotations.NullMarked; /** * Tests for {@link Maps#transformValues(SortedMap, Function)}. * * @author Louis Wasserman */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
TestSortedSetGenerator<E> delegate, Bound to, Bound from) { return using(new NavigableSetSubsetTestSetGenerator<E>(delegate, to, from)); } /** Create a suite whose maps are descending views of other maps. */ private TestSuite createDescendingSuite( FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) { TestSetGenerator<E> delegate =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
*/ protected ChannelUtil() { } /** * Returns a {@link ByteBuffer} that maps the file channel to memory. * * @param channel * The file channel. Must not be {@literal null}. * @param mode * The mode. Must not be {@literal null}. * @return A {@link ByteBuffer} that maps the file channel to memory. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0)