Same goes for excludedNodes within PPickPath. It's implementation is as a HashMap that maps from PNode to PNode, but it's only ever used as a Set.
On Jul 4, 9:22 pm, allain <[email protected]> wrote: > Within PObjectOutputStream, there's a curious field called > unconditionallyWritten and it's a map from an Object to a Boolean. It > only gets set to Boolean.True and seems to be playing the role of a > Set. > > Can anyone explain to me the reason for this particular field being > defined as a Map. Seems like it'd be simpler and possibly more > efficient to define it as a Set. > > Thanks, > > Allain --~--~---------~--~----~------------~-------~--~----~ Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en -~----------~----~----~----~------~----~------~--~---
