MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / iterator

Method iterator

Ports/CLDC11/src/java/util/AbstractMap.java:488–506  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

486 }
487
488 @Override
489 public Iterator<K> iterator() {
490 return new Iterator<K>() {
491 Iterator<Map.Entry<K, V>> setIterator = entrySet()
492 .iterator();
493
494 public boolean hasNext() {
495 return setIterator.hasNext();
496 }
497
498 public K next() {
499 return setIterator.next().getKey();
500 }
501
502 public void remove() {
503 setIterator.remove();
504 }
505 };
506 }
507 };
508 }
509 return keySet;

Callers

nothing calls this directly

Calls 2

entrySetMethod · 0.95
iteratorMethod · 0.65

Tested by

no test coverage detected