|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.artifact.TwoByteSequence
A TwoByteSequence
is an arbitrary sequence
of two bytes.
Field Summary | |
protected byte |
byte0
|
protected byte |
byte1
|
Constructor Summary | |
TwoByteSequence(byte byte0,
byte byte1)
The workhorse constructor. |
|
TwoByteSequence(short s)
A convenience constructor. |
Method Summary | |
boolean |
equals(Object o)
Equate two sequences of bytes. |
byte[] |
getBytes()
Get the actual bytes of this sequence of bytes. |
int |
hashCode()
Compute the hashcode of this sequences of bytes. |
int |
size()
Get the size of this sequence of bytes. |
String |
toString()
Converts this sequence of bytes to a string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected byte byte0
protected byte byte1
Constructor Detail |
public TwoByteSequence(byte byte0, byte byte1)
public TwoByteSequence(short s)
Method Detail |
public int size()
size
in interface ByteSizedSequence
public byte[] getBytes()
ByteSizedSequence
getBytes
in interface ByteSizedSequence
public String toString()
TwoByteSequence
object.
toString
in interface ByteSizedSequence
Hex
public boolean equals(Object o)
ByteSizedSequence
equals
in interface ByteSizedSequence
public int hashCode()
ByteSizedSequence
hashCode
in interface ByteSizedSequence
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |