java - custom linked list iteration -


i have java web app has save bunch of items user add cart display each item user added on jsp page. have custom made linked list called "cart" doesn't use library/api(whatever call it) practicing purpose. cart includes bunch of node , product e element of each node.

if node public outer class, can iterate using "node current" outside of class (i.e. main, other pages). if put node inline class people do, can't that. there way iterate through list without moving node outside?


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

double exclamation marks in haskell -