rice.tutorial.past
Class MyPastContent
java.lang.Object
rice.p2p.past.ContentHashPastContent
rice.tutorial.past.MyPastContent
- All Implemented Interfaces:
- Serializable, PastContent
public class MyPastContent
- extends ContentHashPastContent
- Author:
- Jeff Hoye
- See Also:
- Serialized Form
|
Constructor Summary |
MyPastContent(Id id,
String content)
Takes an environment for the timestamp
An IdFactory to generate the hash
The content to be stored. |
MyPastContent
public MyPastContent(Id id,
String content)
- Takes an environment for the timestamp
An IdFactory to generate the hash
The content to be stored.
- Parameters:
idf - to generate a hash of the contentcontent - to be stored
toString
public String toString()
- A descriptive toString()
- Overrides:
toString in class Object
Copyright © 2010. All Rights Reserved.