Skip to content

A collection of Java iterators with decorated functionality

Notifications You must be signed in to change notification settings

mingjingz/advanced-iterators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Advanced Iterators

A collection of Java iterators that extends the basic linear behavior. It adheres to the Decorator Pattern to ensure loose coupling and a high flexibility. Comes with JUnit test cases.

PeekIterator

add a .peek() function to allow obtaining value without advancing the iterator.

** This iterator should be used as the OUTERMOST layer of decoration.**

EvenIterator

returns 0th, 2nd, 4th... element of a container.


Many more is yet to come. Stay tuned.

About

A collection of Java iterators with decorated functionality

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages