Paul Sandoz wrote:
> Hi,
>
> As part of the support for FI encoding algorithms i need to produce or
> consume UUIDs.
>
> I started writing a UUID class, got 10% of the way and realised this
> is going to take a little bit more work so did a little search and
> found that JDK 5.0 has a class which looks suitable.
>
> I now have a couple of choices:
>
> 1) Do not bother with the UUID class and keep the interface very
> simple e.g. msb and lsb of the UUID as two longs, then people who use
> 5.0 can easily create a UUID class from these longs or produce longs
> from the UUID class.
>
> 2) Port the 5.0 UUID class to 1.4.2. This may involve licensing issues
> too.
>
> So i think the best thing to do is go for the first solution that does
> not presuppose a the use of a UUID class.
>
Option sounds good. Personally I've never used a UUID.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_fi.dev.java.net
For additional commands, e-mail: dev-help_at_fi.dev.java.net