- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for headMap (2.35 sec)
-
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
/** * A sensible definition of {@link #lowerEntry} in terms of the {@code lastEntry()} of {@link * #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override {@code * lowerEntry} to forward to this implementation. */ protected @Nullable Entry<K, V> standardLowerEntry(@ParametricNullness K key) { return headMap(key, false).lastEntry(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
/** * A sensible definition of {@link #lowerEntry} in terms of the {@code lastEntry()} of {@link * #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override {@code * lowerEntry} to forward to this implementation. */ protected @Nullable Entry<K, V> standardLowerEntry(@ParametricNullness K key) { return headMap(key, false).lastEntry(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
} @Override public NavigableMap<K, Collection<V>> headMap(@ParametricNullness K toKey) { return headMap(toKey, false); } @Override public NavigableMap<K, Collection<V>> headMap(@ParametricNullness K toKey, boolean inclusive) { return new NavigableAsMap(sortedMap().headMap(toKey, inclusive)); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
return tmp; } } return null; } @Override public ImmutableSortedMap<K, V> headMap(K toKey) { checkNotNull(toKey); return newView(sortedDelegate.headMap(toKey)); } ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) { checkNotNull(toKey); if (inclusive) { K tmp = higher(toKey); if (tmp == null) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 16.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java
assertThat(navigableMap.headMap(key, inclusive).entrySet()) .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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 24.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
if (subRange.isEmpty()) { return emptyIterator(); } Iterator<RangeMapEntry<K, V>> backingItr = entriesByLowerBound .headMap(subRange.upperBound, false) .descendingMap() .values() .iterator(); return new AbstractIterator<Entry<Range<K>, V>>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
*/ SortedMap<K, V> createSubMap(SortedMap<K, V> map, K firstExclusive, K lastExclusive) { if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) { return map.headMap(lastExclusive); } else if (from == Bound.INCLUSIVE && to == Bound.NO_BOUND) { return map.tailMap(firstInclusive); } else if (from == Bound.INCLUSIVE && to == Bound.EXCLUSIVE) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 18.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
} public void testRowKeyMapHeadMap() { sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); Map<String, Map<Integer, Character>> map = sortedTable.rowMap().headMap("cat"); assertEquals(1, map.size()); assertEquals(ImmutableMap.of(1, 'b'), map.get("bar")); map.clear(); assertTrue(map.isEmpty()); assertEquals(singleton("foo"), sortedTable.rowKeySet()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
if (subRange.isEmpty()) { return emptyIterator(); } Iterator<RangeMapEntry<K, V>> backingItr = entriesByLowerBound .headMap(subRange.upperBound, false) .descendingMap() .values() .iterator(); return new AbstractIterator<Entry<Range<K>, V>>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 26.5K bytes - Viewed (0)