xtc.util
Class Nonce

java.lang.Object
  extended by xtc.util.Nonce

public class Nonce
extends java.lang.Object

A nonce.

Version:
$Revision: 1.2 $
Author:
Robert Grimm

Method Summary
static Nonce create()
          Create a new nonce.
 long getNumber()
          Get this nonce's number.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getNumber

public long getNumber()
Get this nonce's number.

Returns:
The number.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

create

public static Nonce create()
Create a new nonce.

Returns:
The new nonce.


Copyright © 2012. All Rights Reserved.