org.objectweb.transaction.api.stamp
Interface Stamp


public interface Stamp

Representation of a Stamp

Version:
0.1
Author:
Romain Rouvoy

Method Summary
 int compare(Stamp s)
          Compare two Stamp for ordering them.
 

Method Detail

compare

public int compare(Stamp s)
Compare two Stamp for ordering them.

Parameters:
s - the stamp to compare to the current one.
Returns:
0 is stamps are equivalent, < 0 if current stamp is inferior to the parameter and > 0 in the other case.