public class SAMBinaryTagAndValue
extends java.lang.Object
implements java.io.Serializable
Serializable or else
serialization will fail.| Modifier and Type | Field and Description |
|---|---|
protected SAMBinaryTagAndValue |
next |
static long |
serialVersionUID |
short |
tag |
java.lang.Object |
value |
| Constructor and Description |
|---|
SAMBinaryTagAndValue(short tag,
java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
SAMBinaryTagAndValue |
copy()
Creates and returns a deep copy of the list of tag/values.
|
boolean |
equals(java.lang.Object o) |
SAMBinaryTagAndValue |
find(short tag)
Returns the SAMBinaryTagAndValue that contains the required tag, or null if not contained.
|
SAMBinaryTagAndValue |
getNext() |
int |
hashCode() |
SAMBinaryTagAndValue |
insert(SAMBinaryTagAndValue attr)
Inserts at item into the ordered list of attributes and returns the head of the list/sub-list
|
boolean |
isUnsignedArray() |
SAMBinaryTagAndValue |
remove(short tag)
Removes a tag from the list and returns the new head of the list/sub-list.
|
public static final long serialVersionUID
public final short tag
public final java.lang.Object value
protected SAMBinaryTagAndValue next
public SAMBinaryTagAndValue(short tag,
java.lang.Object value)
tag - tagname (in binary form) for this attributevalue - value for this attribute (must be of a type that implements Serializable or else serialization will fail)public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic SAMBinaryTagAndValue copy()
public SAMBinaryTagAndValue getNext()
public SAMBinaryTagAndValue insert(SAMBinaryTagAndValue attr)
public SAMBinaryTagAndValue remove(short tag)
public SAMBinaryTagAndValue find(short tag)
public boolean isUnsignedArray()