The methods defined in the SetMergeIterator class are summarized in the following table.
Method | Description |
---|---|
addCollection | Adds the specified set to the merged iterator view |
back | Accesses entries in reverse order in the merged iterator view |
current | Returns the last value iterated by the back or next method |
getCollectionAt | Returns the set at the specified index in the collection of sets making up the merged iterator view |
getCollectionCount | Returns the number of sets |
getCurrentCollection | Returns the set containing the last value iterated by the back or next method |
isValid | Returns true if the receiver is a valid iterator |
next | Accesses successive entries in the merged iterator view |
removeCollection | Removes the specified set from the merged iterator view |
reset | Initializes the iterator |
startAtObject | Sets the starting position of the iterator at the position of the specified object |