Documentation
¶
Overview ¶
Package iterator is an example of the Iterator Pattern.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregate ¶
type Aggregate interface {
Iterator() Iterator
}
Aggregate provides a collection interface.
type BookIterator ¶
type BookIterator struct {
// contains filtered or unexported fields
}
BookIterator implements the Iterator interface.
Click to show internal directories.
Click to hide internal directories.