Project demonstrates use of custom made iterators in Java programming language. An Iterator is one of many ways we can traverse a collection.
Iterators were first introduced in Java 1.2 as a replacement of Enumerations and:
- introduced improved method names
- made it possible to remove elements from a collection we're iterating over
- doesn't guarantee iteration order
- Only forward direction iterating is possible
- Replacement and addition of new element is not supported by Iterator
In this demo you can find the universal custom list iterator that can iterate through many types of data. Test code is placed in file IteratorMain.java.
If someone is interesting in contribution please contact me on e-mail hedzaprog@gmail.com
.
Heril Muratović
Software Engineer
Mobile: +38269657962
E-mail: hedzaprog@gmail.com
Skype: hedza06
Twitter: hedzakirk
LinkedIn: https://www.linkedin.com/in/heril-muratovi%C4%87-021097132/
StackOverflow: https://stackoverflow.com/users/4078505/heril-muratovic