goog.dom.iter.SiblingIterator
Classgoog.dom.iter.SiblingIterator
> goog.iter.Iterator
goog.dom.iter.SiblingIterator(node, opt_includeNode, opt_reverse)
Iterator over a Node's siblings.
node
{Node
}
opt_includeNode
{boolean
=}
opt_reverse
{boolean
=}
.__iterator__(opt_keys)
Inherited from goog.iter.Iterator
.
Returns the {@code Iterator} object itself. This is used to implement the iterator protocol in JavaScript 1.7
opt_keys
{boolean
=}
goog.iter.Iterator
}
.next()
Returns the next value of the iteration. This will throw the object {@see goog.iter#StopIteration} when the iteration passes the end.