Anything related to the generation and management of unique identifiers, i.e. pieces of information (such as strings, numbers, etc.) that (must/can) have no duplicate in some context (e.g. process IDs in a running PC, primary keys in a database table, user names in a networked system, etc.).
Questions tagged [unique-id]
184 questions
-2
votes
1 answer
Create unique incremental id and add it to the set
The problem is that I need to create new incremental ID for each new customer and add it to the Set, I'm trying to do it with the while loop, but it seems not to be right
public class Bank {
private String name;
private Set…

user3047466
- 1
- 1
-3
votes
2 answers
get id of post from mysql table
i have posts in a table each with a unique id. I want to use this id to have a user delete his or her post from a mysql table. how can i find out the unique id of the…

user3370114
- 5
- 1
- 7
-6
votes
2 answers
Unique Emplyee ID Generation C++
I am doing an program of Employee Database in C++. I want to generate a Unique Employee Number for each Employee but I am not successful can someone help me and oh please post the code relevant to Turbo C++ Borland and not Visual C++. Hoping to hear…

Adarsh
- 827
- 9
- 23
-12
votes
2 answers
How to make an unique id for an object that is not random
Problem
I need to create a unique id for each Person object.
public interface Person
{
String getName();
}
public class Chef implements Person
{
String name;
....
// all other instance variables are not unique to this…

J_Strauton
- 2,270
- 3
- 28
- 70