|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jniwrapper.Parameter
|
+--com.jniwrapper.Bool
Represents bool (boolean) value and type.
| Field Summary | |
static Bool |
FALSE
false bool value. |
static Bool |
TRUE
true bool value. |
| Constructor Summary | |
Bool()
Constructs an instance with false value. |
|
Bool(Bool t)
Constructs an instance that has the same value as the passed Bool object. |
|
Bool(boolean b)
Constructs an instance with the specified value. |
|
| 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. |
boolean |
getValue()
Returns boolean value. |
void |
read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Reads this parameter from a specified data source. |
void |
setValue(boolean value)
Sets boolean value. |
java.lang.Boolean |
toBoolean()
|
java.lang.String |
toString()
|
void |
write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Writes this parameter to a specified data source. |
| Methods inherited from class com.jniwrapper.Parameter |
acceptIOPerformer, asReturnValue, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, setDataBuffer, toByteArray, write |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Bool FALSE
false bool value.
public static final Bool TRUE
true bool value.
| Constructor Detail |
public Bool()
false value.
public Bool(boolean b)
public Bool(Bool t)
Bool object.
| Method Detail |
public boolean getValue()
public void setValue(boolean value)
public int getLength()
Parametersizeof() operator.
getLength in class Parameter
public void write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
throws MemoryAccessViolationException
Parameter
write in class ParameterMemoryAccessViolationException
public void read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
throws MemoryAccessViolationException
Parameter
read in class ParameterMemoryAccessViolationExceptionpublic java.lang.Object clone()
clone in class Parameterpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Boolean toBoolean()
public boolean equals(java.lang.Object obj)
ParameterParameter 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 Parameterobj - value to compare this object to
true if two objects are equal.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||