- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 93 for sortedMap (0.1 sec)
-
guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapInclusiveMapInterfaceTest.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.util.SortedMap; @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);
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
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.util.SortedMap; @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);
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-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return SortedMapTestSuiteBuilder.using( new TestStringSortedMapGenerator() { @Override protected SortedMap<String, String> create(Entry<String, String>[] entries) { SortedMap<String, String> map = populate(new TreeMap<String, String>(), entries); return Collections.checkedSortedMap(map, String.class, String.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
TreeMapImpl { @Override public <K extends Comparable<K>, V> SortedMap<K, V> create(Map<K, V> map) { SortedMap<K, V> result = Maps.newTreeMap(); result.putAll(map); return result; } }, ConcurrentSkipListImpl { @Override public <K extends Comparable<K>, V> SortedMap<K, V> create(Map<K, V> map) { return new ConcurrentSkipListMap<>(map); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return SortedMapTestSuiteBuilder.using( new TestStringSortedMapGenerator() { @Override protected SortedMap<String, String> create(Entry<String, String>[] entries) { SortedMap<String, String> map = populate(new TreeMap<String, String>(), entries); return Collections.checkedSortedMap(map, String.class, String.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowMapTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.TableCollectionTest.RowMapTests; import java.util.Map; import java.util.SortedMap; @GwtCompatible @ElementTypesAreNonnullByDefault public class UnmodifiableRowSortedTableRowMapTest extends RowMapTests { public UnmodifiableRowSortedTableRowMapTest() { super(false, false, false, false); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/RegularImmutableSortedMapMapInterfaceTest.java
import com.google.common.annotations.GwtCompatible; import java.util.SortedMap; @GwtCompatible public class RegularImmutableSortedMapMapInterfaceTest extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> { @Override protected SortedMap<String, Integer> makeEmptyMap() { return ImmutableSortedMap.of(); } @Override protected SortedMap<String, Integer> makePopulatedMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 17 01:34:55 UTC 2022 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
SortedMap<Integer, Character> row = sortedTable.row("c"); assertEquals(2, row.size()); assertEquals(1, row.tailMap(15).size()); } public void testSubRowClearAndPut() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); SortedMap<Integer, Character> row = (SortedMap<Integer, Character>) table.row("foo"); SortedMap<Integer, Character> subRow = row.tailMap(2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java
import java.util.NavigableMap; import java.util.SortedMap; @GwtIncompatible // SerializableTester public class ReserializedSafeTreeMapMapInterfaceTest extends SortedMapInterfaceTest<String, Integer> { public ReserializedSafeTreeMapMapInterfaceTest() { super(false, true, true, true, true); } @Override protected SortedMap<String, Integer> makePopulatedMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 18:06:40 UTC 2022 - 1.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
return kvMap; } } SortedMap<K, V> delegate = newModifiableDelegate(comparator); for (Entry<? extends K, ? extends V> entry : map.entrySet()) { putEntryWithChecks(delegate, entry); } return newView(unmodifiableSortedMap(delegate), comparator); } private static <K, V> void putEntryWithChecks( SortedMap<K, V> map, Entry<? extends K, ? extends V> entry) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 16.4K bytes - Viewed (0)