[kepler-dev] unique id generation
Michal Owsiak
michal.owsiak at man.poznan.pl
Wed Oct 13 12:53:39 PDT 2010
In fact I am looking for some way of creating unique values that can be
used for file names.
UUID class generates unique values that can be easily converted to strings.
In fact, I have my own actor that generates unique ids using UUID class,
however I am looking for something that is built into Kepler.
Cheers
Michal
>
> 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
>>
>
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
--
Michal Owsiak <michal.owsiak at man.poznan.pl>
Institute of Bioorganic Chemistry PAS
Poznan Supercomputing and Networking Center
Noskowskiego 12/14, 61-704 Poznan, POLAND
http://www.man.poznan.pl
More information about the Kepler-dev
mailing list