|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensaml.artifact.TwoByteSequence
public class 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 ByteSizedSequencepublic byte[] getBytes()
ByteSizedSequence
getBytes in interface ByteSizedSequencepublic String toString()
TwoByteSequence object.
toString in interface ByteSizedSequencetoString in class ObjectHexpublic boolean equals(Object o)
ByteSizedSequence
equals in interface ByteSizedSequenceequals in class Objectpublic int hashCode()
ByteSizedSequence
hashCode in interface ByteSizedSequencehashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||