Rice Pastry API

rice.p2p.past.testing
Class PastRegrTest.VersionedTestPastContent

java.lang.Object
  extended by rice.p2p.past.testing.PastRegrTest.TestPastContent
      extended by rice.p2p.past.testing.PastRegrTest.VersionedTestPastContent
All Implemented Interfaces:
java.io.Serializable, PastContent
Direct Known Subclasses:
PastRegrTest.NonOverwritingTestPastContent
Enclosing class:
PastRegrTest

protected static class PastRegrTest.VersionedTestPastContent
extends PastRegrTest.TestPastContent

DESCRIBE THE CLASS

Version:
$Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
jeffh
See Also:
Serialized Form

Field Summary
protected  int version
          DESCRIBE THE FIELD
 
Fields inherited from class rice.p2p.past.testing.PastRegrTest.TestPastContent
existing, id
 
Constructor Summary
PastRegrTest.VersionedTestPastContent(Id id, int version)
          Constructor for VersionedTestPastContent.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares this to the parameter.
 java.lang.String toString()
          Converts to a String representation of the object.
 
Methods inherited from class rice.p2p.past.testing.PastRegrTest.TestPastContent
checkInsert, getHandle, getId, isMutable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

version

protected int version
DESCRIBE THE FIELD

Constructor Detail

PastRegrTest.VersionedTestPastContent

public PastRegrTest.VersionedTestPastContent(Id id,
                                             int version)
Constructor for VersionedTestPastContent.

Parameters:
id - DESCRIBE THE PARAMETER
version - DESCRIBE THE PARAMETER
Method Detail

equals

public boolean equals(java.lang.Object o)
Compares this to the parameter.

Overrides:
equals in class PastRegrTest.TestPastContent
Parameters:
o - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

toString

public java.lang.String toString()
Converts to a String representation of the object.

Overrides:
toString in class PastRegrTest.TestPastContent
Returns:
A string representation of the object.

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.