MCPcopy Create free account
hub / github.com/antlr/codebuff / keyIterator

Method keyIterator

output/java_guava/1.4.16/ImmutableMap.java:522–535  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

520 }
521
522 UnmodifiableIterator<K> keyIterator() {
523 final UnmodifiableIterator<Entry<K, V>> entryIterator = entrySet().iterator();
524 return new UnmodifiableIterator<K>() {
525 @Override
526 public boolean hasNext() {
527 return entryIterator.hasNext();
528 }
529
530 @Override
531 public K next() {
532 return entryIterator.next().getKey();
533 }
534 };
535 }
536
537 private transient ImmutableCollection<V> values;
538

Callers 1

iteratorMethod · 0.45

Calls 2

entrySetMethod · 0.95
iteratorMethod · 0.65

Tested by

no test coverage detected