mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +02:00
549b4abd3b
Implemented COLLECT key word
14 lines
233 B
Go
14 lines
233 B
Go
package collections
|
|
|
|
type noopIterator struct{}
|
|
|
|
var NoopIterator = &noopIterator{}
|
|
|
|
func (iterator *noopIterator) HasNext() bool {
|
|
return false
|
|
}
|
|
|
|
func (iterator *noopIterator) Next() (DataSet, error) {
|
|
return nil, ErrExhausted
|
|
}
|