Home
last modified time | relevance | path

Searched refs:lastEntry (Results 1 – 25 of 38) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/collect/
DForwardingNavigableMapTest.java229 public Entry<K, V> lastEntry() {
277 assertNull(forwarding.lastEntry());
279 assertEquals(immutableEntry("b", 2), forwarding.lastEntry());
281 assertEquals(immutableEntry("c", 3), forwarding.lastEntry());
283 assertEquals(immutableEntry("c", 3), forwarding.lastEntry());
285 assertEquals(immutableEntry("b", 2), forwarding.lastEntry());
344 forward().lastEntry();
DForwardingSortedMultisetTest.java79 public Entry<E> lastEntry() { in lastEntry() method
234 forward().lastEntry();
DSynchronizedNavigableMapTest.java161 @Override public Entry<K, V> lastEntry() { in lastEntry() method in SynchronizedNavigableMapTest.TestMap
163 return delegate().lastEntry(); in lastEntry()
327 create().lastEntry(); in testLastEntry()
/external/guava/guava/src/com/google/common/collect/
DForwardingNavigableMap.java72 return headMap(key, false).lastEntry(); in standardLowerEntry()
100 return headMap(key, true).lastEntry(); in standardFloorEntry()
202 public Entry<K, V> lastEntry() { in lastEntry() method in ForwardingNavigableMap
203 return delegate().lastEntry(); in lastEntry()
220 Entry<K, V> entry = lastEntry(); in standardLastKey()
287 private Entry<K, V> nextOrNull = forward().lastEntry(); in entryIterator()
DAbstractNavigableMap.java49 public Entry<K, V> lastEntry() { in lastEntry() method in AbstractNavigableMap
77 Entry<K, V> entry = lastEntry(); in lastKey()
88 return headMap(key, false).lastEntry(); in lowerEntry()
94 return headMap(key, true).lastEntry(); in floorEntry()
DSortedMultisets.java81 return getElementOrThrow(multiset().lastEntry()); in last()
96 return getElementOrNull(multiset().headMultiset(e, OPEN).lastEntry()); in lower()
101 return getElementOrNull(multiset().headMultiset(e, CLOSED).lastEntry()); in floor()
DDescendingImmutableSortedMultiset.java39 return forward.lastEntry(); in firstEntry()
43 public Entry<E> lastEntry() { in lastEntry() method in DescendingImmutableSortedMultiset
DUnmodifiableSortedMultiset.java79 public Entry<E> lastEntry() { in lastEntry() method in UnmodifiableSortedMultiset
80 return delegate().lastEntry(); in lastEntry()
DLinkedHashMultimap.java317 private ValueSetLink<K, V> lastEntry; field in LinkedHashMultimap.ValueSet
322 this.lastEntry = this; in ValueSet()
337 return lastEntry; in getPredecessorInValueSet()
347 lastEntry = entry; in setPredecessorInValueSet()
427 succeedsInValueSet(lastEntry, newEntry); in add()
DDescendingMultiset.java93 return forwardMultiset().lastEntry(); in firstEntry()
96 @Override public Entry<E> lastEntry() { in lastEntry() method in DescendingMultiset
DForwardingSortedMultiset.java127 public Entry<E> lastEntry() { in lastEntry() method in ForwardingSortedMultiset
128 return delegate().lastEntry(); in lastEntry()
DSortedMultiset.java68 Entry<E> lastEntry(); in lastEntry() method
/external/jline/src/src/main/java/jline/
DHistory.java128 int lastEntry = history.size() - 1; in moveToLastEntry() local
129 if (lastEntry >= 0 && lastEntry != currentIndex) { in moveToLastEntry()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java112 assertNull(sortedMultiset.headMultiset(samples.e0, type).lastEntry()); in testEmptyMultisetNearby()
119 assertNull(sortedMultiset.lastEntry()); in testEmptyMultisetLast()
146 assertNull(sortedMultiset.headMultiset(samples.e0, OPEN).lastEntry()); in testSingletonMultisetNearby()
147 assertNull(sortedMultiset.tailMultiset(samples.e0, OPEN).lastEntry()); in testSingletonMultisetNearby()
149 assertEquals(a, sortedMultiset.headMultiset(samples.e0, CLOSED).lastEntry()); in testSingletonMultisetNearby()
155 assertEquals(a, sortedMultiset.lastEntry()); in testSingletonMultisetLast()
189 assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry()); in testLower()
190 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry()); in testLower()
191 assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry()); in testLower()
197 assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry()); in testFloor()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DLocalCache.java542 Entry<K, Timestamped<V>> lastEntry; field in LocalCache.EntryIterator
559 lastEntry = nextEntry; in next()
561 return new WriteThroughEntry(lastEntry.getKey(), lastEntry.getValue().getValue()); in next()
581 checkState(lastEntry != null); in remove()
582 LocalCache.this.remove(lastEntry.getKey(), lastEntry.getValue()); in remove()
583 lastEntry = null; in remove()
/external/cldr/tools/java/org/unicode/cldr/util/
DSimpleDictionary.java33 private CharSequence lastEntry = ""; field in SimpleDictionary
73 if (CharUtilities.compare(text, lastEntry) <= 0) { in addMapping()
76 lastEntry = text; in addMapping()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DMaven221MultiVolumeTest.java84 final ArchiveEntry lastEntry = zi.getNextEntry(); in testRead7ZipMultiVolumeArchiveForStream() local
85 assertEquals(LAST_ENTRY_NAME, lastEntry.getName()); in testRead7ZipMultiVolumeArchiveForStream()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DPreDiffPlan.java113 TypedRange<T> lastEntry = iterator.next(); in ensureOrdered() local
116 if (lastEntry.compareTo(nextEntry) > 0) { in ensureOrdered()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLinkedHashMultimap.java313 private ValueSetLink<K, V> lastEntry; field in LinkedHashMultimap.ValueSet
318 this.lastEntry = this; in ValueSet()
333 return lastEntry; in getPredecessorInValueSet()
343 lastEntry = entry; in setPredecessorInValueSet()
423 succeedsInValueSet(lastEntry, newEntry); in add()
DUnmodifiableSortedMultiset.java77 public Entry<E> lastEntry() { in lastEntry() method in UnmodifiableSortedMultiset
78 return delegate().lastEntry(); in lastEntry()
DDescendingMultiset.java93 return forwardMultiset().lastEntry(); in firstEntry()
96 @Override public Entry<E> lastEntry() { in lastEntry() method in DescendingMultiset
DSortedMultiset.java37 Entry<E> lastEntry(); in lastEntry() method
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DMessageFormatter.java159 final Object lastEntry = argArray[argArray.length - 1]; in getThrowableCandidate() local
160 if (lastEntry instanceof Throwable) { in getThrowableCandidate()
161 return (Throwable) lastEntry; in getThrowableCandidate()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DNavigableMapNavigationTester.java103 assertNull(navigableMap.lastEntry()); in testEmptyMapLast()
138 assertEquals(a, navigableMap.lastEntry()); in testSingletonMapLast()
216 assertEquals(c, navigableMap.lastEntry()); in testLast()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSafeTreeMap.java201 @Override public Entry<K, V> lastEntry() {
202 return delegate.lastEntry();

12