proper.util
Class ID

java.lang.Object
  extended by proper.util.ID

public class ID
extends java.lang.Object

This class is only used for creating unique IDs - during one session.

Version:
$Revision: 1.2 $
Author:
FracPete

Constructor Summary
ID()
          initializes the object
 
Method Summary
 int next()
          returns the next id
 java.lang.String toString()
          returns the current id as String
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ID

public ID()
initializes the object

Method Detail

next

public int next()
returns the next id


toString

public java.lang.String toString()
returns the current id as String

Overrides:
toString in class java.lang.Object