tapestry.impl.test
Class RepairDHTTest.Tag

java.lang.Object
  |
  +--tapestry.impl.test.RepairDHTTest.Tag
All Implemented Interfaces:
QuickSerializable, TapestryTag
Enclosing class:
RepairDHTTest

public static class RepairDHTTest.Tag
extends Object
implements TapestryTag

Tag is the TapestryThresholdTag for generic objects.


Constructor Summary
RepairDHTTest.Tag(byte[] payload)
          Constructor: Creates a new Tag.
RepairDHTTest.Tag(InputBuffer buffer)
          Constructs a Tag from its serialized form.
 
Method Summary
 boolean equals(Object other)
          Compares this Tag with another tag, and returns true iff they are the same type of tag.
 int hashCode()
          Calculates a Java hash code for this Tag object (by returning its type_code)
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.QuickSerializable
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepairDHTTest.Tag

public RepairDHTTest.Tag(byte[] payload)
Constructor: Creates a new Tag.


RepairDHTTest.Tag

public RepairDHTTest.Tag(InputBuffer buffer)
                  throws QSException
Constructs a Tag from its serialized form.

Parameters:
buffer - serialized form of object.
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable

Specified by:
serialize in interface QuickSerializable

equals

public boolean equals(Object other)
Compares this Tag with another tag, and returns true iff they are the same type of tag.

Overrides:
equals in class Object
Returns:
true iff this and other are instanceof Tag.

hashCode

public int hashCode()
Calculates a Java hash code for this Tag object (by returning its type_code)

Overrides:
hashCode in class Object
Returns:
the Java hash code for this Tag.

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class Object