> mitations that we'd like to address:
> 
> 1)The biggest thing is the lack of unsigned data types. As you know,
> java does not have unsigned ints, longs, or shorts.  Right now the
> library totally ignores unsigned datatypes.  For example, if the llrp
> spec says something is an unsigned short, the library just uses a short
> for it.  We need to figure out some way to address this issue (I imagine
> there is some standard way of handling this situation, but I haven't
> done enough research to know what it is).

Two approaches possible here:
- If you need it for binary operations use BigInteger (might be a
performance problem).
- Create wrapperobjects which do the rangechecking for you. As java does
not support overloading of operators you will have to stick to add,
sub,... methods.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to