- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 731 for maps (0.17 sec)
-
src/main/java/org/codelibs/core/collection/Maps.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
assertEquals("1", map.remove("a")); assertNull(map.remove("b")); } public void testTransformEqualityOfMapsWithNullValues() { Map<String, @Nullable String> underlying = Maps.newHashMap(); underlying.put("a", null); underlying.put("b", ""); Map<String, Boolean> map = Maps.transformValues( underlying,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 9.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
assertEquals("1", map.remove("a")); assertNull(map.remove("b")); } public void testTransformEqualityOfMapsWithNullValues() { Map<String, @Nullable String> underlying = Maps.newHashMap(); underlying.put("a", null); underlying.put("b", ""); Map<String, Boolean> map = Maps.transformValues( underlying,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractTable.java
for (Map<C, V> row : rowMap().values()) { if (row.containsValue(value)) { return true; } } return false; } @Override public boolean contains(@CheckForNull Object rowKey, @CheckForNull Object columnKey) { Map<C, V> row = Maps.safeGet(rowMap(), rowKey); return row != null && Maps.safeContainsKey(row, columnKey); } @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jul 15 15:41:16 GMT 2021 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
map.put("quux", 3); map.remove("quux"); assertThat(map.entrySet()) .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("bar", 2)) .inOrder(); } public void testInsertionOrderAfterForcePut() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); map.forcePut("quux", 1);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashBiMapTest.java
map.put("quux", 3); map.remove("quux"); assertThat(map.entrySet()) .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("bar", 2)) .inOrder(); } public void testInsertionOrderAfterForcePut() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); map.forcePut("quux", 1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractTable.java
for (Map<C, V> row : rowMap().values()) { if (row.containsValue(value)) { return true; } } return false; } @Override public boolean contains(@CheckForNull Object rowKey, @CheckForNull Object columnKey) { Map<C, V> row = Maps.safeGet(rowMap(), rowKey); return row != null && Maps.safeContainsKey(row, columnKey); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jul 15 15:41:16 GMT 2021 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapDifference.java
Map<K, V> entriesOnlyOnRight(); /** * Returns an unmodifiable map containing the entries that appear in both maps; that is, the * intersection of the two maps. */ Map<K, V> entriesInCommon(); /** * Returns an unmodifiable map describing keys that appear in both maps, but with different * values. */ Map<K, ValueDifference<V>> entriesDiffering(); /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Aug 04 13:28:27 GMT 2021 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
@Override protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) { Map<AnEnum, String> map = Maps.newHashMap(); for (Entry<AnEnum, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return Maps.immutableEnumMap(map); } } @J2ktIncompatible @GwtIncompatible // suite
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java
import com.google.common.base.Functions; import java.util.Map; /** * Tests for {@link Maps#transformValues(Map, Function)}. * * @author Isaac Shum */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest { @Override protected Map<String, String> makeEmptyMap() { return Maps.transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.4K bytes - Viewed (0)