Package src.handler
Class DatabaseHandler
Object
DatabaseHandler
General helper functions for handling database
- Version:
- 1.0
- Author:
- Lee Juin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,
V> int generateUUID
(HashMap<K, V> data) Generic function to generate unique UUID for different database
-
Constructor Details
-
DatabaseHandler
public DatabaseHandler()Constructor
-
-
Method Details
-
generateUUID
Generic function to generate unique UUID for different database- Type Parameters:
K
- is the generic form for keyV
- is the generic form for vlaue- Parameters:
data
- is the HashMap database to generate UUID for- Returns:
- A unique UUID for the database
-