[kepler-dev] unique id generation

Edward A. Lee eal at eecs.berkeley.edu
Wed Oct 13 08:16:00 PDT 2010


I'm not sure how unique you need it to be, but
NamedObj.uniqueName() is designed to give a name to a
Ptolemy object that is unique with a scope of names.

Edward


On 10/13/10 1:34 AM, Michal Owsiak wrote:
> Hello all,
>
> I have simple question related to ID generation.
>
> Is there any mechanism/actor, that can generate unique id?
>
> I am looking for something similar to:
>
>
> java.util.UUID.randomUUID().toString();
>
> Thanks in advance
>
> Cheers
>
> Michal
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eal.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20101013/be24e8da/attachment.vcf>


More information about the Kepler-dev mailing list