Custom Filter Iterator

Custom Filter Iterator in java that iterates over a list and return only
numbers pass the filter criteria