Joda System API

org.joda.util
Class Identifier

java.lang.Object
  |
  +--org.joda.util.Identifier

public class Identifier
extends java.lang.Object

Class which provides unique identifiers for objects. The id is based on Random number, time in milliseconds and sequence number.

Author:
Stephen Colebourne

Constructor Summary
Identifier()
           
 
Method Summary
static java.lang.String getIdentifier()
          Get a new identifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Identifier

public Identifier()
Method Detail

getIdentifier

public static java.lang.String getIdentifier()
Get a new identifier

Returns:
the identifier

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.