JUnit tests: https://www.cse.buffalo.edu/~mhertz/courses/cse116/Weeks/DirWeek07/
ID: 3730420 • Letter: J
Question
JUnit tests: https://www.cse.buffalo.edu/~mhertz/courses/cse116/Weeks/DirWeek07/Problem01.jar
Download this file in which I started to define a very special Iterator. Instances of this class will return the POSITIVE entries in source. Your class will still use the same Iterator algorithms for its hasNext) and next) methods, BUT you will need to advance cursor to the next entry with a POSITIVE value (and not just the next entry). For this question, you will also need to write the class constructorExplanation / Answer
I have competed PositiveFilterIterator class. Now All the test cases are passing in Problem01.jar
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.