[Rxtx] NRJavaSerial, a fork of rxtx that fixes the papercuts!
Andre-John Mas
ajmas at sympatico.ca
Fri Mar 25 14:32:26 MDT 2011
On 24-Mar-2011, at 16:26, Adrian Crum wrote:
> Using a concrete class in an API is a bad idea. Maybe you should consider using Collection<> or Iterator<> instead of ArrayList.
>
> -Adrian
Could probably use List<> too, depending on the use case. One advantage with using Set<> or List<> is that they give some sort of
indication of the uniqueness of the results.
My 5c.
Andre
More information about the Rxtx
mailing list