commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicolas de loof <nico...@apache.org>
Subject [Math] looking for a "dispersion" function
Date Thu, 29 Jan 2009 14:18:32 GMT
Hi,
I have to generate some alpanumeric ID based on a database sequence.
The idea is to generate some ID that will not indicate the ordering in the
database, or it's amount of data

It's easy to convert some long to a String using a 26 based number
conversion.
I now need some mathematical function to "disperse" my sequenc-generated ID
into the numbers space.

Any suggestion ?

Nicolas

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message