Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/jar/
DJarOutputStream.java90 if (firstEntry) { in putNextEntry()
107 firstEntry = false; in putNextEntry()
112 private boolean firstEntry = true; field in JarOutputStream
/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java221 Map.Entry<K,V> firstEntry(); in firstEntry() method
DCollections.java1966 public Entry<K, V> firstEntry() {
1967 Entry<K,V> first = (Entry<K, V>) nm.firstEntry();
2931 public Entry<K, V> firstEntry()
2932 { synchronized (mutex) { return nm.firstEntry(); } }
4142 public Entry<K, V> firstEntry() {
4143 Entry<K,V> first = nm.firstEntry();
DTreeMap.java660 public Map.Entry<K,V> firstEntry() { in firstEntry() method in TreeMap
1574 public final Map.Entry<K,V> firstEntry() { in firstEntry() method in TreeMap.NavigableSubMap
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeMapTest.java899 assertEquals(objArray[0].toString(), tm.firstEntry().getKey()); in test_firstEntry()
900 assertEquals(objArray[0], tm.firstEntry().getValue()); in test_firstEntry()
902 assertEquals(testint.toString(), tm.firstEntry().getKey()); in test_firstEntry()
903 assertEquals(testint, tm.firstEntry().getValue()); in test_firstEntry()
905 assertEquals(testint.toString(), tm.firstEntry().getKey()); in test_firstEntry()
906 assertEquals(testint, tm.firstEntry().getValue()); in test_firstEntry()
908 assertEquals(testint.toString(), tm.firstEntry().getKey()); in test_firstEntry()
909 Entry entry = tm.firstEntry(); in test_firstEntry()
913 assertNull(tm.firstEntry()); in test_firstEntry()
DTreeMapExtendTest.java89 assertNull(treeMap.firstEntry()); in test_TreeMap_Constructor_Default()
136 assertEquals(tm.firstEntry(), treeMap.firstEntry()); in test_TreeMap_Constructor_Map()
1615 assertEquals(navigableMap_startExcluded_endExcluded.firstEntry(), in test_AscendingSubMap_descendingMap()
1621 descendingMap.firstEntry()); in test_AscendingSubMap_descendingMap()
1630 assertEquals(navigableMap_startExcluded_endIncluded.firstEntry(), in test_AscendingSubMap_descendingMap()
1636 descendingMap.firstEntry()); in test_AscendingSubMap_descendingMap()
1645 assertEquals(navigableMap_startIncluded_endExcluded.firstEntry(), in test_AscendingSubMap_descendingMap()
1651 descendingMap.firstEntry()); in test_AscendingSubMap_descendingMap()
1660 assertEquals(navigableMap_startIncluded_endIncluded.firstEntry(), in test_AscendingSubMap_descendingMap()
1666 descendingMap.firstEntry()); in test_AscendingSubMap_descendingMap()
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/
DNavigableMap.annotated.java59 ….util.Map.Entry<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> firstEntry(); in firstEntry() method
DTreeMap.annotated.java66 …<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> firstEntry() { throw new Ru… in firstEntry() method in TreeMap
/libcore/luni/src/test/java/libcore/java/util/
DMapOfTest.java180 Map.Entry<K, V> firstEntry = map.entrySet().iterator().next(); in assertUnmodifiable() local
181 assertThrowsUoe(() -> firstEntry.setValue(exampleValue)); in assertUnmodifiable()
DTreeMapTest.java126 assertImmutable(map.firstEntry()); in assertAllEntryMethodsReturnImmutableEntries()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java1086 public java.util.Map.Entry<K, V> firstEntry() { in firstEntry() method in Collections.CheckedNavigableMap
2574 public java.util.Map.Entry<K, V> firstEntry() { in firstEntry() method in Collections.SynchronizedNavigableMap
3362 public java.util.Map.Entry<K, V> firstEntry() { in firstEntry() method in Collections.UnmodifiableNavigableMap
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSubMapTest.java340 Map.Entry f = map.firstEntry();
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListMap.java2213 public Map.Entry<K,V> firstEntry() { in firstEntry() method in ConcurrentSkipListMap
3033 public Map.Entry<K,V> firstEntry() { in firstEntry() method in ConcurrentSkipListMap.SubMap