|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.unitn.ds.peersim.utils.IDGenerator
public class IDGenerator
Distributed Systems Course Project
Year: 2009/2010
University of Trento
IDGenerator -. Generates an unique id used in the messages.
| Method Summary | |
|---|---|
static IDGenerator |
getInstance()
Gets the single instance of IDGenerator. |
int |
nextID()
Next id. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static IDGenerator getInstance()
public int nextID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||