lib/Iterator.js
function() {
         if(this._collection.getAll()[this._pos + 1]) {
             this._hasNext = true;
         } else {
             this._hasNext = false;
         }
         
         if(!this._nextCalled) {
             this._pos ++;
             this._hasNextCalled = true;
         }

         return this._hasNext;
     }
function() {
         if(this._collection.getAll()[this._pos + 1]) {
             this._hasNext = true;
         } else {
             this._hasNext = false;
         }
         
         if(!this._nextCalled) {
             this._pos ++;
             this._hasNextCalled = true;
         }

         return this._hasNext;
     }
function ( ) { if ( this . _collection . getAll ( ) [ this . _pos + 1 ] ) { this . _hasNext = true ; } else { this . _hasNext = false ; } if ( ! this . _nextCalled ) { this . _pos ++ ; this . _hasNextCalled = true ; } return this . _hasNext ; }
Returns true if there are more elements.
@return boolean
@throws Error
Returns true if there are more elements .