If a remaining element exists, performs the given consumer function on it, advances to the next element if remaining, and returns true. otherwise returns false.
The function is performed on the next element in encounter order, if the data source has an encounter order.
false if no remaining elements existed, true otherwise. |