Move Size handling out of Base

This commit is contained in:
kortschak 2014-07-30 12:14:46 +09:30
parent 525230206a
commit ee6d4c8db7
5 changed files with 17 additions and 5 deletions

View file

@ -80,11 +80,6 @@ func (it *Base) Result() graph.Value {
return it.Last
}
// If you're empty and you know it, clap your hands.
func (it *Base) Size() (int64, bool) {
return 0, true
}
// Accessor
func (it *Base) CanNext() bool { return it.canNext }