- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 61 for makePopulatedMap (0.18 sec)
-
guava-tests/test/com/google/common/collect/ReserializedImmutableMapMapInterfaceTest.java
@GwtIncompatible // SerializableTester public class ReserializedImmutableMapMapInterfaceTest extends AbstractImmutableMapMapInterfaceTest<String, Integer> { @Override protected Map<String, Integer> makePopulatedMap() { return SerializableTester.reserialize(ImmutableMap.of("one", 1, "two", 2, "three", 3)); } @Override protected String getKeyNotInPopulatedMap() { return "minus one"; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 09 02:18:08 UTC 2022 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapInclusiveMapInterfaceTest.java
@GwtCompatible public class ImmutableSortedMapHeadMapInclusiveMapInterfaceTest extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> { @Override protected SortedMap<String, Integer> makePopulatedMap() { return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("c", true); } @Override protected String getKeyNotInPopulatedMap() { return "d"; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 17 01:34:55 UTC 2022 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTailMapExclusiveMapInterfaceTest.java
@GwtCompatible public class ImmutableSortedMapTailMapExclusiveMapInterfaceTest extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> { @Override protected SortedMap<String, Integer> makePopulatedMap() { return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).tailMap("a", false); } @Override protected String getKeyNotInPopulatedMap() { return "a"; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 17 01:34:55 UTC 2022 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java
return new SimpleForwardingSortedMap<>( new TreeMap<String, Integer>(Ordering.<String>natural().nullsFirst())); } @Override protected SortedMap<String, Integer> makePopulatedMap() { final SortedMap<String, Integer> sortedMap = makeEmptyMap(); sortedMap.put("one", 1); sortedMap.put("two", 2); sortedMap.put("three", 3); return sortedMap; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 07 18:34:03 UTC 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SingletonImmutableMapMapInterfaceTest.java
import java.util.Map; @GwtCompatible public class SingletonImmutableMapMapInterfaceTest extends AbstractImmutableMapMapInterfaceTest<String, Integer> { @Override protected Map<String, Integer> makePopulatedMap() { return ImmutableMap.of("one", 1); } @Override protected String getKeyNotInPopulatedMap() { return "minus one"; } @Override protected Integer getValueNotInPopulatedMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 09 02:18:08 UTC 2022 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesRowTest.java
Table<Character, String, Integer> table = HashBasedTable.create(); return transformValues(table, TableCollectionTest.DIVIDE_BY_2); } @Override protected Map<String, Integer> makePopulatedMap() { Table<Character, String, Integer> table = HashBasedTable.create(); table.put('a', "one", 2); table.put('a', "two", 4); table.put('a', "three", 6); table.put('b', "four", 8);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapSubMapTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableColumnMapTest.java
RowSortedTable<Integer, String, Character> original = TreeBasedTable.create(); return unmodifiableRowSortedTable(original); } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { RowSortedTable<Integer, String, Character> table = TreeBasedTable.create(); table.put(1, "foo", 'a'); table.put(1, "bar", 'b'); table.put(3, "foo", 'c');
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableTableRowMapTest.java
Table<String, Integer, Character> original = HashBasedTable.create(); return unmodifiableTable(original); } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { Table<String, Integer, Character> table = HashBasedTable.create(); table.put("foo", 1, 'a'); table.put("bar", 1, 'b'); table.put("foo", 3, 'c'); return unmodifiableTable(table).rowMap(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java
extends SortedMapInterfaceTest<String, Integer> { public ReserializedSafeTreeMapMapInterfaceTest() { super(false, true, true, true, true); } @Override protected SortedMap<String, Integer> makePopulatedMap() { NavigableMap<String, Integer> map = new SafeTreeMap<>(); map.put("one", 1); map.put("two", 2); map.put("three", 3); return SerializableTester.reserialize(map); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 18:06:40 UTC 2022 - 1.7K bytes - Viewed (0)