cern::laser::test::HashCodeKeyMaker Class Reference
List of all members.
Static Public Member Functions |
| static int | makeKey (String key) |
| static int | makeUUID () throws Exception |
| static void | main (String args[]) throws Exception |
Static Private Member Functions |
| static int | getInt (byte bytes[]) |
| static String | hexFormat (int i, int j) |
| static String | padHex (String s, int i) |
Detailed Description
This class is used to generate primary keys as hash code and to generate UUID for EJB
- Author:
- Bartlomiej Pawlowski <Bartlomiej.Pawlowski@cern.ch>
Member Function Documentation
| static int cern::laser::test::HashCodeKeyMaker::getInt |
( |
byte |
bytes[] |
) |
[inline, static, private] |
| static String cern::laser::test::HashCodeKeyMaker::hexFormat |
( |
int |
i, |
|
|
int |
j | |
|
) |
| | [inline, static, private] |
| static void cern::laser::test::HashCodeKeyMaker::main |
( |
String |
args[] |
) |
throws Exception [inline, static] |
| static int cern::laser::test::HashCodeKeyMaker::makeKey |
( |
String |
key |
) |
[inline, static] |
Creates a new instance of HashCodeKeyMaked
- Parameters:
-
| static int cern::laser::test::HashCodeKeyMaker::makeUUID |
( |
|
) |
throws Exception [inline, static] |
| static String cern::laser::test::HashCodeKeyMaker::padHex |
( |
String |
s, |
|
|
int |
i | |
|
) |
| | [inline, static, private] |
The documentation for this class was generated from the following file: