[Rxtx] NRJavaSerial, a fork of rxtx that fixes the papercuts!
Brian Schlining
bschlining at gmail.com
Mon Mar 28 15:14:39 MDT 2011
>
>
> The problem with a copy is that the user may modify the Set and then wonder
> why it's no there on the next "get" call.
>
> I would go for immutable return and a method to add a port.
The functional-programming side of my brain agrees that immutable is fine
too. :-)
--
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Brian Schlining
bschlining at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qbang.org/pipermail/rxtx/attachments/20110328/a773ffb9/attachment-0508.htm>
More information about the Rxtx
mailing list