public class SongIterator<T,L> implements Iterator<Song<T, L>> {}
Pyler
0
Junior Poster in Training
Recommended Answers
Jump to PostThe statement, incomplete though it is declares a class SongIterator which expects two more classes, T and L. The class implements Iterator which is an Interface from the Collections API. java.util.Iterator operates on a collection of Songs(another class) which also expect classes T and L. The class definition is empty.
…
All 4 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
jwenting
1,889
duckman
Team Colleague
ivank2139
2
Newbie Poster
Pyler
commented:
Most useful explanation. Thanks
+2
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.