You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
279 B
11 lines
279 B
package foundation.pEp.jniadapter;
|
|
import java.util.concurrent.atomic.AtomicLong;
|
|
|
|
abstract class UniquelyIdentifiable {
|
|
static final AtomicLong NEXT_ID = new AtomicLong(1);
|
|
final long id = NEXT_ID.getAndIncrement();
|
|
|
|
public long getId() {
|
|
return id;
|
|
}
|
|
}
|
|
|