|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jniwrapper.Parameter | +--com.jniwrapper.Char
Represents char
value and type.
Constructor Summary | |
Char()
Constructs character with \0 value |
|
Char(char c)
Constructs character with specified value |
|
Char(Char t)
Constructs a copy of Char object |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
Compares this Parameter object to a given object. |
int |
getLength()
Returns a length of the parameter in memory. |
char |
getValue()
Returns character value |
void |
read(DataBuffer stackBuffer,
int offset)
Reads this parameter from a specified data source. |
void |
setValue(char value)
Sets character value. |
java.lang.String |
toString()
|
void |
write(DataBuffer stackBuffer,
int offset)
Writes this parameter to a specified data source. |
Methods inherited from class com.jniwrapper.Parameter |
acceptIOPerformer, asReturnValue, getAlignedLength, getBuffer, getOffset, indent, pop, push, read, setBuffer, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Char()
\0
value
public Char(char c)
public Char(Char t)
Char
object
Method Detail |
public char getValue()
public void setValue(char value)
java.lang.IllegalArgumentException
- if character is not within 0..255 range.WideChar
public int getLength()
Parameter
sizeof()
operator.
getLength
in class Parameter
public java.lang.Object clone()
clone
in class Parameter
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
Parameter
Parameter
object to a given object.
Two Parameter
objects are considered equal if their
byte representations are equal and they are of the same type.
Subclasses may override this method as appropriate.
equals
in class Parameter
obj
- value to compare this object to
true
if two objects are equal.public void write(DataBuffer stackBuffer, int offset) throws MemoryAccessViolationException
Parameter
write
in class Parameter
MemoryAccessViolationException
public void read(DataBuffer stackBuffer, int offset) throws MemoryAccessViolationException
Parameter
read
in class Parameter
MemoryAccessViolationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |