Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/collect/
DRegularImmutableSortedMultiset.java115 public CumulativeCountEntry<E> lastEntry() {
122 CumulativeCountEntry<E> lastEntry = lastEntry();
124 lastEntry.cumulativeCount - firstEntry.cumulativeCount + firstEntry.count);
DDescendingImmutableSortedMultiset.java39 return forward.lastEntry(); in firstEntry()
43 public Entry<E> lastEntry() { in lastEntry() method in DescendingImmutableSortedMultiset
DSortedMultisets.java69 return getElementOrThrow(multiset().lastEntry()); in last()
148 return forwardMultiset().lastEntry(); in firstEntry()
151 @Override public Entry<E> lastEntry() { in lastEntry() method
DSortedMultiset.java61 Entry<E> lastEntry(); in lastEntry() method
DEmptyImmutableSortedMultiset.java39 public Entry<E> lastEntry() { in lastEntry() method in EmptyImmutableSortedMultiset
DAbstractSortedMultiset.java75 public Entry<E> lastEntry() {
DMultisets.java245 public Entry<E> lastEntry() { in lastEntry() method in Multisets.UnmodifiableSortedMultiset
246 return delegate().lastEntry(); in lastEntry()
/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/webkit/Source/WebCore/history/
DBackForwardListImpl.cpp170 unsigned lastEntry = m_entries.size() - 1; in forwardListWithLimit() local
171 if (m_current < lastEntry) { in forwardListWithLimit()
172 int last = min(m_current + limit, lastEntry); in forwardListWithLimit()
/external/webkit/Source/WebCore/html/parser/
DHTMLEntityTable.h44 static const HTMLEntityTableEntry* lastEntry();
DHTMLEntitySearch.cpp47 , m_last(HTMLEntityTable::lastEntry()) in HTMLEntitySearch()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapNavigationTester.java109 assertNull(navigableMap.lastEntry()); in testEmptyMapLast()
150 assertEquals(a, navigableMap.lastEntry()); in testSingletonMapLast()
230 assertEquals(c, navigableMap.lastEntry()); in testLast()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSafeTreeMap.java164 @Override public Entry<K, V> lastEntry() { in lastEntry() method in SafeTreeMap
165 return delegate.lastEntry(); in lastEntry()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DTreeMapTest.java954 assertEquals(objArray[999].toString(), tm.lastEntry().getKey()); in test_lastEntry()
955 assertEquals(objArray[999], tm.lastEntry().getValue()); in test_lastEntry()
957 assertEquals(objArray[999].toString(), tm.lastEntry().getKey()); in test_lastEntry()
958 assertEquals(objArray[999], tm.lastEntry().getValue()); in test_lastEntry()
960 assertEquals(testint9999.toString(), tm.lastEntry().getKey()); in test_lastEntry()
961 Entry entry = tm.lastEntry(); in test_lastEntry()
965 assertNull(tm.lastEntry()); in test_lastEntry()
1844 map2.lastEntry(); in test_illegalFirstNullKey()
DTreeMapExtendTest.java99 assertNull(treeMap.lastEntry()); in test_TreeMap_Constructor_Default()
140 assertEquals(tm.lastEntry(), treeMap.lastEntry()); in test_TreeMap_Constructor_Map()
1602 descendingMap.lastEntry()); in test_AscendingSubMap_descendingMap()
1606 assertEquals(navigableMap_startExcluded_endExcluded.lastEntry(), in test_AscendingSubMap_descendingMap()
1617 descendingMap.lastEntry()); in test_AscendingSubMap_descendingMap()
1621 assertEquals(navigableMap_startExcluded_endIncluded.lastEntry(), in test_AscendingSubMap_descendingMap()
1632 descendingMap.lastEntry()); in test_AscendingSubMap_descendingMap()
1636 assertEquals(navigableMap_startIncluded_endExcluded.lastEntry(), in test_AscendingSubMap_descendingMap()
1647 descendingMap.lastEntry()); in test_AscendingSubMap_descendingMap()
1651 assertEquals(navigableMap_startIncluded_endIncluded.lastEntry(), in test_AscendingSubMap_descendingMap()
[all …]