- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 48 for NavigableMap (0.22 seconds)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
/* * We'd like to sanity check that we didn't get a NavigableMap out, but we * can't easily do so while maintaining GWT compatibility. */ assertEquals(ImmutableSortedMap.of("a", 2.0, "b", 3.0), transformed); } @GwtIncompatible // NavigableMap public void testNavigableMapTransformValues() { NavigableMap<String, Integer> map = ImmutableSortedMap.of("a", 4, "b", 9);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
} @GwtIncompatible // NavigableMap static <K extends @Nullable Object, V extends @Nullable Object> NavigableMap<K, V> navigableMap( NavigableMap<K, V> navigableMap) { return navigableMap(navigableMap, null); } @GwtIncompatible // NavigableMap static <K extends @Nullable Object, V extends @Nullable Object> NavigableMap<K, V> navigableMap(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java
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 protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException { NavigableMap<String, Integer> map = new SafeTreeMap<>();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 18 18:06:40 GMT 2022 - 1.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return SortedMapTestSuiteBuilder.using( new TestStringSortedMapGenerator() { @Override protected NavigableMap<String, String> create(Entry<String, String>[] entries) { NavigableMap<String, String> map = populate(new TreeMap<String, String>(), entries); return Collections.checkedNavigableMap(map, String.class, String.class); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 21.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey())); } @CollectionSize.Require(ONE) public void testSingletonMapFirst() { assertEquals(a.getKey(), navigableMap.firstKey()); } @CollectionSize.Require(ONE) public void testSingletonMapLast() { assertEquals(a.getKey(), navigableMap.lastKey()); } @CollectionSize.Require(SEVERAL)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
} } private final class NavigableAsMap extends SortedAsMap implements NavigableMap<K, Collection<V>> { NavigableAsMap(NavigableMap<K, Collection<V>> submap) { super(submap); } @Override NavigableMap<K, Collection<V>> sortedMap() { return (NavigableMap<K, Collection<V>>) super.sortedMap(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java
} <K, V> void testNavigationAgainstExpected( NavigableMap<K, V> expected, NavigableMap<K, V> navigableMap, Iterable<K> keysToTest) { for (K key : keysToTest) { assertEquals(expected.lowerEntry(key), navigableMap.lowerEntry(key)); assertEquals(expected.floorEntry(key), navigableMap.floorEntry(key)); assertEquals(expected.ceilingEntry(key), navigableMap.ceilingEntry(key));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 24.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey())); } @CollectionSize.Require(ONE) public void testSingletonMapFirst() { assertEquals(a.getKey(), navigableMap.firstKey()); } @CollectionSize.Require(ONE) public void testSingletonMapLast() { assertEquals(a.getKey(), navigableMap.lastKey()); } @CollectionSize.Require(SEVERAL)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
import com.google.common.testing.SerializableTester; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.NavigableMap; import java.util.SortedMap; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for SafeTreeMap. * * @author Louis Wasserman */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
import com.google.common.testing.SerializableTester; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.NavigableMap; import java.util.SortedMap; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for SafeTreeMap. * * @author Louis Wasserman */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.4K bytes - Click Count (0)