/external/guava/guava/src/com/google/common/collect/ |
D | RegularImmutableSortedMultiset.java | 115 public CumulativeCountEntry<E> lastEntry() { 122 CumulativeCountEntry<E> lastEntry = lastEntry(); 124 lastEntry.cumulativeCount - firstEntry.cumulativeCount + firstEntry.count);
|
D | DescendingImmutableSortedMultiset.java | 39 return forward.lastEntry(); in firstEntry() 43 public Entry<E> lastEntry() { in lastEntry() method in DescendingImmutableSortedMultiset
|
D | SortedMultisets.java | 69 return getElementOrThrow(multiset().lastEntry()); in last() 148 return forwardMultiset().lastEntry(); in firstEntry() 151 @Override public Entry<E> lastEntry() { in lastEntry() method
|
D | SortedMultiset.java | 61 Entry<E> lastEntry(); in lastEntry() method
|
D | EmptyImmutableSortedMultiset.java | 39 public Entry<E> lastEntry() { in lastEntry() method in EmptyImmutableSortedMultiset
|
D | AbstractSortedMultiset.java | 75 public Entry<E> lastEntry() {
|
D | Multisets.java | 245 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/ |
D | MultisetNavigationTester.java | 112 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/ |
D | BackForwardListImpl.cpp | 170 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/ |
D | HTMLEntityTable.h | 44 static const HTMLEntityTableEntry* lastEntry();
|
D | HTMLEntitySearch.cpp | 47 , m_last(HTMLEntityTable::lastEntry()) in HTMLEntitySearch()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapNavigationTester.java | 109 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/ |
D | SafeTreeMap.java | 164 @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/ |
D | TreeMapTest.java | 954 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()
|
D | TreeMapExtendTest.java | 99 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 …]
|