|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.onixs.fix.parser.ValuePtr
public class ValuePtr
Value pointer.
Constructor Summary | |
---|---|
ValuePtr()
|
|
ValuePtr(byte[] value)
|
|
ValuePtr(byte[] value,
int length)
|
|
ValuePtr(byte[] value,
int offset,
int length)
|
|
ValuePtr(String str)
|
Method Summary | |
---|---|
int |
compareTo(Object vp)
|
boolean |
contentEquals(byte[] buffer,
int offset)
|
boolean |
contentEquals(String str)
|
boolean |
equals(Object obj)
|
byte[] |
getData()
|
int |
getLength()
|
int |
getOffset()
|
byte[] |
getSpecifiedData()
Returns the exact byte array specified by this value pointer. |
int |
hashCode()
|
boolean |
isEmpty()
|
boolean |
isSet()
Returns whether value pointer is set |
void |
reset()
Resets value pointer to the undefined state. |
void |
setData(byte[] data)
|
void |
setLength(int length)
|
void |
setOffset(int offset)
|
long |
toLong()
|
String |
toString()
|
void |
write(OutputStream outputStream)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValuePtr()
public ValuePtr(byte[] value, int offset, int length)
public ValuePtr(byte[] value, int length)
public ValuePtr(byte[] value)
public ValuePtr(String str)
Method Detail |
---|
public boolean isSet()
public void reset()
public byte[] getSpecifiedData()
public byte[] getData()
public void setData(byte[] data)
public int getOffset()
public void setOffset(int offset)
public int getLength()
public void setLength(int length)
public boolean isEmpty()
public long toLong()
public void write(OutputStream outputStream) throws IOException
IOException
public int compareTo(Object vp)
compareTo
in interface Comparable
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean contentEquals(String str)
public boolean contentEquals(byte[] buffer, int offset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |