question: public Iterator < RecordID > scan ( ) { List < BEntry > validEntries = getAllValidEntries ( ) ; List < RecordID > rids = new ArrayList < RecordID > ( ) ; for ( BEntry le : validEntries ) { rids . add ( le . getRecordID ( ) ) ; } return rids . iterator ( ) ; }
target:  Creates an iterator of RecordID's for all entries in this node.