- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for tailMap (0.11 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
Iterator<Entry<K, V>> iterator = map.entrySet().iterator(); Entry<K, V> firstEntry = iterator.next(); Entry<K, V> secondEntry = iterator.next(); K key = secondEntry.getKey(); SortedMap<K, V> subMap = map.tailMap(key); V value = getValueNotInPopulatedMap(); subMap.put(key, value); assertEquals(secondEntry.getValue(), value); assertEquals(map.get(key), value);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
} @Override public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) { assertTrue(Thread.holdsLock(mutex)); return delegate().tailMap(fromKey, inclusive); } @Override public SortedMap<K, V> tailMap(K fromKey) { return tailMap(fromKey, true); } @Override public Comparator<? super K> comparator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
assertFalse(navigableMap.headMap(a.getKey()).containsKey(a.getKey())); } @CollectionSize.Require(absent = ZERO) public void testTailMapInclusive() { assertTrue(navigableMap.tailMap(a.getKey()).containsKey(a.getKey())); } public void testHeadMap() { List<Entry<K, V>> entries = copyToList( getSubjectGenerator()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
*/ @Override public ImmutableSortedMap<K, V> tailMap(K fromKey) { return tailMap(fromKey, true); } /** * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys are * greater than (or equal to, if {@code inclusive}) {@code fromKey}. * * <p>The {@link SortedMap#tailMap} documentation states that a submap of a submap throws an
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
assertFalse(navigableMap.headMap(a.getKey()).containsKey(a.getKey())); } @CollectionSize.Require(absent = ZERO) public void testTailMapInclusive() { assertTrue(navigableMap.tailMap(a.getKey()).containsKey(a.getKey())); } public void testHeadMap() { List<Entry<K, V>> entries = copyToList( getSubjectGenerator()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
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); assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
} @Override public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey) { return tailMap(fromKey, true); } @Override public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey, boolean inclusive) { return transformEntries(fromMap().tailMap(fromKey, inclusive), transformer); } @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
} @Override public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey) { return tailMap(fromKey, true); } @Override public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey, boolean inclusive) { return transformEntries(fromMap().tailMap(fromKey, inclusive), transformer); } @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
} @CollectionSize.Require(absent = ZERO) public void testTailMapExclusive() { assertFalse(navigableMap.tailMap(a.getKey(), false).containsKey(a.getKey())); } @CollectionSize.Require(absent = ZERO) public void testTailMapInclusive() { assertTrue(navigableMap.tailMap(a.getKey(), true).containsKey(a.getKey())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java
.containsExactlyElementsIn(expected.headMap(key, inclusive).entrySet()) .inOrder(); assertThat(navigableMap.tailMap(key, inclusive).entrySet()) .containsExactlyElementsIn(expected.tailMap(key, inclusive).entrySet()) .inOrder(); assertThat(navigableMap.headMap(key, inclusive).descendingMap().entrySet())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 24.3K bytes - Viewed (0)