Searched refs:nextEntry (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/
H A DWeakHashMap.java118 private Entry<K, V> currentEntry, nextEntry; field in class:WeakHashMap.HashIterator
130 if (nextEntry != null && (nextKey != null || nextEntry.isNull)) {
134 if (nextEntry == null) {
136 if ((nextEntry = elementData[position++]) != null) {
140 if (nextEntry == null) {
145 nextKey = nextEntry.get();
146 if (nextKey != null || nextEntry.isNull) {
149 nextEntry = nextEntry
[all...]
H A DHashtable.java713 HashtableEntry<K, V> nextEntry; field in class:Hashtable.HashIterator
723 nextEntry = next;
727 return nextEntry != null;
730 HashtableEntry<K, V> nextEntry() { method in class:Hashtable.HashIterator
733 if (nextEntry == null)
736 HashtableEntry<K, V> entryToReturn = nextEntry;
742 nextEntry = next;
747 if (nextEntry == null)
750 HashtableEntry<K, V> entryToReturn = nextEntry;
756 nextEntry
[all...]
H A DLinkedHashMap.java348 final LinkedEntry<K, V> nextEntry() { method in class:LinkedHashMap.LinkedHashIterator
370 public final K next() { return nextEntry().key; }
374 public final V next() { return nextEntry().value; }
379 public final Map.Entry<K, V> next() { return nextEntry(); }
H A DHashMap.java771 HashMapEntry<K, V> nextEntry = entryForNullKey; field in class:HashMap.HashIterator
776 if (nextEntry == null) {
782 nextEntry = next;
787 return nextEntry != null;
790 HashMapEntry<K, V> nextEntry() { method in class:HashMap.HashIterator
793 if (nextEntry == null)
796 HashMapEntry<K, V> entryToReturn = nextEntry;
802 nextEntry = next;
819 public K next() { return nextEntry().key; }
824 public V next() { return nextEntry()
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentHashMap.java1214 HashEntry<K, V> nextEntry; field in class:ConcurrentHashMap.HashIterator
1224 * Sets nextEntry to first node of next non-empty table
1230 if ((nextEntry = entryAt(currentTable,
1244 final HashEntry<K,V> nextEntry() { method in class:ConcurrentHashMap.HashIterator
1245 HashEntry<K,V> e = nextEntry;
1249 if ((nextEntry = e.next) == null)
1254 public final boolean hasNext() { return nextEntry != null; }
1255 public final boolean hasMoreElements() { return nextEntry != null; }
1269 public final K next() { return super.nextEntry().key; }
1270 public final K nextElement() { return super.nextEntry()
[all...]

Completed in 96 milliseconds