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

Method keyIterator

output/java_guava/1.4.19/ImmutableMap.java:523–536  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

iteratorMethod · 0.45

Calls 2

entrySetMethod · 0.95
iteratorMethod · 0.65

Tested by

no test coverage detected