A stream of doc IDs. Most methods on DocIdStreams are terminal, meaning that the [ ] may not be further used.
Count the number of entries in this stream. This is a terminal operation.
Iterate over doc IDs contained in this stream in order, calling the given [ ] on them. This is a terminal operation.