Home
last modified time | relevance | path

Searched refs:firstEntry (Results 1 – 23 of 23) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSortedMapInterfaceTest.java268 Entry<K, V> firstEntry = iterator.next();
275 assertFalse(tailEntrySet.contains(firstEntry));
290 Entry<K, V> firstEntry = iterator.next();
297 assertTrue(headEntrySet.contains(firstEntry));
298 assertEquals(head.firstKey(), firstEntry.getKey());
299 assertEquals(head.lastKey(), firstEntry.getKey());
313 Entry<K, V> firstEntry = iterator.next();
322 subMap.put(firstEntry.getKey(), value);
340 Entry<K, V> firstEntry = iterator.next();
345 assertNull(subMap.remove(firstEntry.getKey()));
[all …]
DSafeTreeMap.java119 @Override public Entry<K, V> firstEntry() { in firstEntry() method in SafeTreeMap
120 return delegate.firstEntry(); in firstEntry()
/external/guava/guava/src/com/google/common/collect/
DRegularImmutableSortedMultiset.java110 public CumulativeCountEntry<E> firstEntry() {
121 CumulativeCountEntry<E> firstEntry = firstEntry();
124 lastEntry.cumulativeCount - firstEntry.cumulativeCount + firstEntry.count);
DDescendingImmutableSortedMultiset.java38 public Entry<E> firstEntry() { in firstEntry() method in DescendingImmutableSortedMultiset
44 return forward.firstEntry(); in lastEntry()
DSortedMultisets.java65 return getElementOrThrow(multiset().firstEntry()); in first()
147 @Override public Entry<E> firstEntry() { in firstEntry() method
152 return forwardMultiset().firstEntry(); in lastEntry()
DSortedMultiset.java55 Entry<E> firstEntry(); in firstEntry() method
DEmptyImmutableSortedMultiset.java34 public Entry<E> firstEntry() { in firstEntry() method in EmptyImmutableSortedMultiset
DAbstractSortedMultiset.java69 public Entry<E> firstEntry() {
DMultisets.java240 public Entry<E> firstEntry() { in firstEntry() method in Multisets.UnmodifiableSortedMultiset
241 return delegate().firstEntry(); in firstEntry()
/external/proguard/src/proguard/gui/
DClassPathPanel.java267 ClassPathEntry firstEntry = (ClassPathEntry)listModel.get(index); in getFiltersFrom() local
269 filterDialog.setFilter(firstEntry.getFilter()); in getFiltersFrom()
270 filterDialog.setJarFilter(firstEntry.getJarFilter()); in getFiltersFrom()
271 filterDialog.setWarFilter(firstEntry.getWarFilter()); in getFiltersFrom()
272 filterDialog.setEarFilter(firstEntry.getEarFilter()); in getFiltersFrom()
273 filterDialog.setZipFilter(firstEntry.getZipFilter()); in getFiltersFrom()
/external/proguard/src/proguard/
DOutputWriter.java59 ClassPathEntry firstEntry = programJars.get(0); in execute() local
60 if (firstEntry.isOutput()) in execute()
62 throw new IOException("The output jar [" + firstEntry.getName() + in execute()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java96 assertNull(sortedMultiset.firstEntry()); in testEmptyMultisetFirst()
113 assertNull(sortedMultiset.tailMultiset(samples.e0, type).firstEntry()); in testEmptyMultisetNearby()
134 assertEquals(a, sortedMultiset.firstEntry()); in testSingletonMultisetFirst()
150 assertEquals(a, sortedMultiset.tailMultiset(samples.e0, CLOSED).firstEntry()); in testSingletonMultisetNearby()
167 assertEquals(a, sortedMultiset.firstEntry()); in testFirst()
206 assertEquals(a, sortedMultiset.tailMultiset(a.getElement(), CLOSED).firstEntry()); in testCeiling()
207 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); in testCeiling()
208 assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry()); in testCeiling()
214 assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry()); in testHigher()
215 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), OPEN).firstEntry()); in testHigher()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLEntityTable.h44 static const HTMLEntityTableEntry* firstEntry();
DHTMLEntitySearch.cpp41 , m_first(HTMLEntityTable::firstEntry()) in HTMLEntitySearch()
/external/android-mock/tests/com/google/android/testing/mocking/
DAndroidFrameworkMockGeneratorTest.java45 JarEntry firstEntry = new JarEntry("java/lang/Object.class"); in getMockJarEntries() local
49 entryList.add(firstEntry); in getMockJarEntries()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapNavigationTester.java81 assertNull(navigableMap.firstEntry()); in testEmptyMapFirst()
125 assertEquals(a, navigableMap.firstEntry()); in testSingletonMapFirst()
163 assertEquals(a, navigableMap.firstEntry()); in testFirst()
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTransformValuesTest.java226 Map.Entry<String, String> firstEntry = entries.iterator().next(); in testTransformChangesAreReflectedInUnderlyingMap() local
227 entries.remove(firstEntry); in testTransformChangesAreReflectedInUnderlyingMap()
DMapsTransformValuesUnmodifiableIteratorTest.java279 Map.Entry<String, String> firstEntry = entries.iterator().next();
280 entries.remove(firstEntry);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DTreeMapTest.java931 assertEquals(objArray[0].toString(), tm.firstEntry().getKey()); in test_firstEntry()
932 assertEquals(objArray[0], tm.firstEntry().getValue()); in test_firstEntry()
934 assertEquals(testint.toString(), tm.firstEntry().getKey()); in test_firstEntry()
935 assertEquals(testint, tm.firstEntry().getValue()); in test_firstEntry()
937 assertEquals(testint.toString(), tm.firstEntry().getKey()); in test_firstEntry()
938 assertEquals(testint, tm.firstEntry().getValue()); in test_firstEntry()
940 assertEquals(testint.toString(), tm.firstEntry().getKey()); in test_firstEntry()
941 Entry entry = tm.firstEntry(); in test_firstEntry()
945 assertNull(tm.firstEntry()); in test_firstEntry()
1830 map2.firstEntry(); in test_illegalFirstNullKey()
DTreeMapExtendTest.java91 assertNull(treeMap.firstEntry()); in test_TreeMap_Constructor_Default()
138 assertEquals(tm.firstEntry(), treeMap.firstEntry()); in test_TreeMap_Constructor_Map()
1601 assertEquals(navigableMap_startExcluded_endExcluded.firstEntry(), in test_AscendingSubMap_descendingMap()
1607 descendingMap.firstEntry()); in test_AscendingSubMap_descendingMap()
1616 assertEquals(navigableMap_startExcluded_endIncluded.firstEntry(), in test_AscendingSubMap_descendingMap()
1622 descendingMap.firstEntry()); in test_AscendingSubMap_descendingMap()
1631 assertEquals(navigableMap_startIncluded_endExcluded.firstEntry(), in test_AscendingSubMap_descendingMap()
1637 descendingMap.firstEntry()); in test_AscendingSubMap_descendingMap()
1646 assertEquals(navigableMap_startIncluded_endIncluded.firstEntry(), in test_AscendingSubMap_descendingMap()
1652 descendingMap.firstEntry()); in test_AscendingSubMap_descendingMap()
[all …]
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
D_win95.h133 PRBool firstEntry; /* Is this the entry returned member
142 PRBool firstEntry; /* Is this the entry returned member
D_os2.h152 PRBool firstEntry; /* Is this the entry returned member
D_winnt.h201 PRBool firstEntry; /* Is this the entry returned member