public static final class DOFObjectID.Authentication.Type extends DOFObjectID.Type
DOFType
that matches DOFObjectID.Authentication
.DOFType.Context, DOFType.Nullable, DOFType.Typedef
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Determines object equality.
|
DOFValue |
getInstance(DOFPacket packet)
|
int |
hashCode()
Return a hash code for the type.
|
marshal, toString
asBoolean, asByte, asBytes, asDate, asDOFInterfaceID, asDOFObjectID, asDouble, asFloat, asInt, asLong, asShort, asString, asULong, getCharSet, getEncoding, getMaxLength, getMinLength, getSubtypes, getTypeID, isCompatibleWith, isDefined, marshal
public DOFValue getInstance(DOFPacket packet) throws DOFMarshalException
DOFType
DOFValue
instance from a DOFPacket
.
When called the current buffer location will point at the first byte of data associated with the
type. On completion, the buffer location must point at the first byte after the data, meaning the
first unread byte.getInstance
in class DOFObjectID.Type
packet
- The buffer which contains the serialized form of the object. Must not be null.null
if the type is nullable.DOFMarshalException
- If there are errors in the data or the buffer. This is an exception to the rule that
non-RuntimeExceptions not be thrown from a constructor.public boolean equals(java.lang.Object other)
DOFObjectID.Type
equals
in class DOFObjectID.Type
other
- The DOFType to compare to.public int hashCode()
DOFType
DOFType.equals(java.lang.Object)
returns true
.hashCode
in class DOFObjectID.Type