Class goog.iter.GroupByIterator_.<KEY, VALUE>
code »goog.iter.Iterator.<Array>
└ goog.iter.GroupByIterator_Implements the goog.iter.groupBy iterator.
Constructor
goog.iter.GroupByIterator_ ( iterable, opt_keyFunc )
| Parameters |
|---|
|
Show:
Instance Methods
Defined in goog.iter.GroupByIterator_
code »groupItems_ ( targetKey ) ⇒ !Array.<VALUE>Performs the grouping of objects using the given key.
!Array.<VALUE>| Parameters |
|---|
|
| Returns |
|
Defined in goog.iter.Iterator.<Array>
code »__iterator__ ( opt_keys ) ⇒ !goog.iter.Iterator.<VALUE>Returns the Iterator object itself. This is used to implement
the iterator protocol in JavaScript 1.7
!goog.iter.Iterator.<VALUE>Iterator object itself. This is used to implement
the iterator protocol in JavaScript 1.7| Parameters |
|---|
|
| Returns |
|
Instance Properties
Defined in goog.iter.GroupByIterator_
code »currentKey : KEYThe current key visited during iteration.
KEYcode »currentValue : VALUEThe current value being added to the group.
VALUE