MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / hasNext

Method hasNext

enums/PostOffice.java:54–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 @Override public Iterator<Mail> iterator() {
53 return new Iterator<Mail>() {
54 @Override public boolean hasNext() {
55 return n-- > 0;
56 }
57 @Override public Mail next() {
58 return randomMail();
59 }

Callers 9

mainMethod · 0.45
mainMethod · 0.45
changeStateMethod · 0.45
createMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
entrySetMethod · 0.45
putMethod · 0.45
getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected