The identity must be defined such that for all elements in the stream u, combiner.apply(identity, u) is equal to u.
Alex Dragoi, SCJP 1.4, OCPJP 6
Alexandru Dragoi wrote:I think I forgot to close some tags. Sorry for this!
[OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2