#bytescrolls
Pages
Home
TIMELINE
Descending Iterator and Adapter pattern
There is a descending iterator in linked list implementation in Java SDK. A humble private class in LinkedList. A good example of adapter.
calls up
public Iterator<E> descendingIterator() {
return new DescendingIterator();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment