On Fri, 17 Jan 2003, Dan Streetman wrote:

>On Fri, 17 Jan 2003, [ISO-8859-1] Roger Lindsjö wrote:
>
>>I'd rather have setData(data) that uses offset 0, and length data.length 
>>and a setData(data, offset, length) than separate setPfset and setLength 
>>methods.
>
>ah, good idea!  I think there should still be seperate setters also, 
>though; but having 2 setData() methods is good and makes it clear that one 
>way you care about offset/length, and the other you don't...

ok, this method is added, along with JavaDoc for both setData()s.

I think that should cover all use cases very well, including making the 
default case 'correct'.  Thanks!


-- 
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
javax-usb-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to