Note that the counts
summary member is created lazily when this node is given children. This causes the code to be less easy to read, but it means we can put off about a huge number of object allocations since 50% of the nodes in an arbitrary tree are leaf nodes, and these leaf nodes now don't have counts.
@author Jesse Wilson
|
|
|
|