Home
last modified time | relevance | path

Searched refs:descendingMap (Results 1 – 25 of 45) sorted by relevance

12

/external/guava/guava/src/com/google/common/collect/
DForwardingNavigableMap.java218 return Iterables.getFirst(descendingMap().entrySet(), null); in standardLastEntry()
259 return Iterators.pollNext(descendingMap().entrySet().iterator()); in standardPollLastEntry()
263 public NavigableMap<K, V> descendingMap() { in descendingMap() method in ForwardingNavigableMap
264 return delegate().descendingMap(); in descendingMap()
362 return descendingMap().navigableKeySet(); in standardDescendingKeySet()
DAbstractNavigableMap.java150 return descendingMap().navigableKeySet(); in descendingKeySet()
154 public NavigableMap<K, V> descendingMap() { in descendingMap() method in AbstractNavigableMap
DImmutableSortedMap.java560 private transient ImmutableSortedMap<K, V> descendingMap; field in ImmutableSortedMap
569 ImmutableSortedMap<K, V> descendingMap) { in ImmutableSortedMap() argument
572 this.descendingMap = descendingMap; in ImmutableSortedMap()
888 public ImmutableSortedMap<K, V> descendingMap() {
891 ImmutableSortedMap<K, V> result = descendingMap;
DMaps.java1085 return descendingMap().entrySet().iterator();
1099 public NavigableMap<K, V> descendingMap() {
2153 public NavigableMap<K, V2> descendingMap() {
2154 return transformEntries(fromMap().descendingMap(), transformer);
3108 return Iterators.filter(unfiltered.descendingMap().entrySet().iterator(), entryPredicate);
3163 return Iterables.removeFirstMatching(unfiltered.descendingMap().entrySet(), entryPredicate);
3167 public NavigableMap<K, V> descendingMap() {
3168 return filterEntries(unfiltered.descendingMap(), entryPredicate);
3292 NavigableMap<K, ? extends V> delegate, UnmodifiableNavigableMap<K, V> descendingMap) {
3294 this.descendingMap = descendingMap;
[all …]
DTreeRangeSet.java92 ? asDescendingSetOfRanges = new AsRanges(rangesByLowerBound.descendingMap().values()) in asDescendingSetOfRanges()
404 .descendingMap()
407 candidates = rangesByLowerBound.descendingMap().values();
577 .descendingMap()
825 .descendingMap()
DAbstractMapBasedMultimap.java1070 return new NavigableKeySet(sortedMap().descendingMap()); in descendingSet()
1564 return pollAsMapEntry(descendingMap().entrySet().iterator());
1579 public NavigableMap<K, Collection<V>> descendingMap() {
1580 return new NavigableAsMap(sortedMap().descendingMap());
1600 return descendingMap().navigableKeySet();
DSynchronized.java1587 transient @Nullable NavigableMap<K, V> descendingMap;
1590 public NavigableMap<K, V> descendingMap() {
1592 if (descendingMap == null) {
1593 return descendingMap = navigableMap(delegate().descendingMap(), mutex);
1595 return descendingMap;
/external/guava/android/guava/src/com/google/common/collect/
DForwardingNavigableMap.java217 return Iterables.getFirst(descendingMap().entrySet(), null); in standardLastEntry()
258 return Iterators.pollNext(descendingMap().entrySet().iterator()); in standardPollLastEntry()
262 public NavigableMap<K, V> descendingMap() { in descendingMap() method in ForwardingNavigableMap
263 return delegate().descendingMap(); in descendingMap()
356 return descendingMap().navigableKeySet(); in standardDescendingKeySet()
DAbstractNavigableMap.java159 return descendingMap().navigableKeySet(); in descendingKeySet()
163 public NavigableMap<K, V> descendingMap() { in descendingMap() method in AbstractNavigableMap
DImmutableSortedMap.java545 private transient ImmutableSortedMap<K, V> descendingMap; field in ImmutableSortedMap
554 ImmutableSortedMap<K, V> descendingMap) { in ImmutableSortedMap() argument
557 this.descendingMap = descendingMap; in ImmutableSortedMap()
853 public ImmutableSortedMap<K, V> descendingMap() {
856 ImmutableSortedMap<K, V> result = descendingMap;
DMaps.java959 return descendingMap().entrySet().iterator();
973 public NavigableMap<K, V> descendingMap() {
2008 public NavigableMap<K, V2> descendingMap() {
2009 return transformEntries(fromMap().descendingMap(), transformer);
2964 return Iterators.filter(unfiltered.descendingMap().entrySet().iterator(), entryPredicate);
3020 return Iterables.removeFirstMatching(unfiltered.descendingMap().entrySet(), entryPredicate);
3024 public NavigableMap<K, V> descendingMap() {
3025 return filterEntries(unfiltered.descendingMap(), entryPredicate);
3139 NavigableMap<K, ? extends V> delegate, UnmodifiableNavigableMap<K, V> descendingMap) {
3141 this.descendingMap = descendingMap;
[all …]
DTreeRangeSet.java92 ? asDescendingSetOfRanges = new AsRanges(rangesByLowerBound.descendingMap().values()) in asDescendingSetOfRanges()
406 .descendingMap()
409 candidates = rangesByLowerBound.descendingMap().values();
579 .descendingMap()
829 .descendingMap()
DAbstractMapBasedMultimap.java1059 return new NavigableKeySet(sortedMap().descendingMap()); in descendingSet()
1521 return pollAsMapEntry(descendingMap().entrySet().iterator());
1536 public NavigableMap<K, Collection<V>> descendingMap() {
1537 return new NavigableAsMap(sortedMap().descendingMap());
1557 return descendingMap().navigableKeySet();
DSynchronized.java1447 @NullableDecl transient NavigableMap<K, V> descendingMap;
1450 public NavigableMap<K, V> descendingMap() {
1452 if (descendingMap == null) {
1453 return descendingMap = navigableMap(delegate().descendingMap(), mutex);
1455 return descendingMap;
/external/guava/guava-tests/test/com/google/common/collect/
DSynchronizedNavigableMapTest.java131 public NavigableMap<K, V> descendingMap() { in descendingMap() method in SynchronizedNavigableMapTest.TestMap
133 return delegate().descendingMap(); in descendingMap()
309 NavigableMap<String, Integer> descendingMap = map.descendingMap(); in testDescendingMap() local
310 assertTrue(descendingMap instanceof SynchronizedNavigableMap); in testDescendingMap()
311 assertSame(mutex, ((SynchronizedNavigableMap<String, Integer>) descendingMap).mutex); in testDescendingMap()
DImmutableRangeMapTest.java194 ImmutableMap<Range<Integer>, Integer> descendingMap = rangeMap.asDescendingMapOfRanges(); in testAsMapOfRanges() local
196 assertEquals(expectedAsMap, descendingMap); in testAsMapOfRanges()
198 SerializableTester.reserializeAndAssert(descendingMap); in testAsMapOfRanges()
201 ImmutableList.copyOf(descendingMap.entrySet())); in testAsMapOfRanges()
DTreeRangeSetTest.java124 assertThat(navigableMap.headMap(key, inclusive).descendingMap().entrySet()) in testNavigationAgainstExpected()
125 .containsExactlyElementsIn(expected.headMap(key, inclusive).descendingMap().entrySet()) in testNavigationAgainstExpected()
127 assertThat(navigableMap.tailMap(key, inclusive).descendingMap().entrySet()) in testNavigationAgainstExpected()
128 .containsExactlyElementsIn(expected.tailMap(key, inclusive).descendingMap().entrySet()) in testNavigationAgainstExpected()
/external/guava/android/guava-tests/test/com/google/common/collect/
DSynchronizedNavigableMapTest.java131 public NavigableMap<K, V> descendingMap() { in descendingMap() method in SynchronizedNavigableMapTest.TestMap
133 return delegate().descendingMap(); in descendingMap()
309 NavigableMap<String, Integer> descendingMap = map.descendingMap(); in testDescendingMap() local
310 assertTrue(descendingMap instanceof SynchronizedNavigableMap); in testDescendingMap()
311 assertSame(mutex, ((SynchronizedNavigableMap<String, Integer>) descendingMap).mutex); in testDescendingMap()
DImmutableRangeMapTest.java193 ImmutableMap<Range<Integer>, Integer> descendingMap = rangeMap.asDescendingMapOfRanges(); in testAsMapOfRanges() local
195 assertEquals(expectedAsMap, descendingMap); in testAsMapOfRanges()
197 SerializableTester.reserializeAndAssert(descendingMap); in testAsMapOfRanges()
200 ImmutableList.copyOf(descendingMap.entrySet())); in testAsMapOfRanges()
DTreeRangeSetTest.java124 assertThat(navigableMap.headMap(key, inclusive).descendingMap().entrySet()) in testNavigationAgainstExpected()
125 .containsExactlyElementsIn(expected.headMap(key, inclusive).descendingMap().entrySet()) in testNavigationAgainstExpected()
127 assertThat(navigableMap.tailMap(key, inclusive).descendingMap().entrySet()) in testNavigationAgainstExpected()
128 .containsExactlyElementsIn(expected.tailMap(key, inclusive).descendingMap().entrySet()) in testNavigationAgainstExpected()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DSafeTreeMap.java122 public NavigableMap<K, V> descendingMap() { in descendingMap() method in SafeTreeMap
123 return new SafeTreeMap<>(delegate.descendingMap()); in descendingMap()
DNavigableMapTestSuiteBuilder.java149 return map.descendingMap(); in create()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSafeTreeMap.java122 public NavigableMap<K, V> descendingMap() { in descendingMap() method in SafeTreeMap
123 return new SafeTreeMap<>(delegate.descendingMap()); in descendingMap()
DNavigableMapTestSuiteBuilder.java149 return map.descendingMap(); in create()
/external/google-java-format/idea_plugin/src/com/google/googlejavaformat/intellij/
DGoogleJavaFormatCodeStyleManager.java147 for (Entry<TextRange, String> entry : sorted.descendingMap().entrySet()) { in performReplacements()

12