Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/careercup/ctci
/ iterator
Method
iterator
java/Chapter 14/Question14_6/CircularArray.java:35–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
}
34
35
public
Iterator<T> iterator() {
36
return
new
CircularArrayIterator<T>(this);
37
}
38
39
private
class
CircularArrayIterator<TI> implements Iterator<TI> {
40
private
int
_current = -1;
Callers
1
main
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected