|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--demo.dynamic.NullTag
NullTag
is the DDTag
for objects that otherwise do not have an identifier. This class
replaces setting ttag==null
.
NullTagQuery
,
DDTag
Constructor Summary | |
---|---|
NullTag()
Constructor: Creates a new NullTag . |
|
NullTag(InputBuffer buffer)
Constructs a NullTag from its
serialized form. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Compares this NullTag with another tag, and returns true iff they are the same type of tag. |
int |
hashCode()
Calculates a Java hash code for this NullTag 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 |
public NullTag()
NullTag
.
public NullTag(InputBuffer buffer) throws QSException
NullTag
from its
serialized
form.
buffer
- serialized
form of object.Method Detail |
public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
public boolean equals(Object other)
equals
in class Object
other
- the object with which to compare this NullTag.
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |