title: Can we write our own iterator in Java?
body: <p>If I have a list containing <code>[alice, bob, abigail, charlie]</code> and I want to write an iterator such that it iterates over elements that begin with 'a', can I write my own ? How can I do that ?