|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.smardec.j2native.Argument | +--com.smardec.j2native.DelegatedArgument | +--com.smardec.j2native.Bool
Bool
class represents bool (boolean) type.
Field Summary |
Fields inherited from class com.smardec.j2native.Argument |
JAVA_SIDE, NATIVE_SIDE |
Constructor Summary | |
Bool()
Constructs a Bool object with a false value. |
|
Bool(boolean value)
Constructs a Bool object with a specified value. |
Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
getValue()
Returns the boolean value of Bool object. |
protected boolean |
isFixedLength()
Identify if Argument is a fixed length variable. |
void |
setValue(boolean value)
Sets a boolean value |
Methods inherited from class com.smardec.j2native.DelegatedArgument |
finalize, free, fromBytesValue, getAlignedLength, getInternalValue, getLength, read, readFromRAM, readFromStack, restoreFromRAM, setInternalValue, storeToRAM, toBytesValue, toBytesValue, write, writeToRAM, writeToStack |
Methods inherited from class com.smardec.j2native.Argument |
getResultFlags, update |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Bool()
Bool
object with a false
value.
public Bool(boolean value)
Bool
object with a specified value.
value
- value to setMethod Detail |
public boolean getValue()
boolean
value of Bool
object.
boolean
valuepublic void setValue(boolean value)
boolean
value
value
- boolean
valuepublic java.lang.Object clone()
Argument
clone
in class Argument
protected boolean isFixedLength()
Argument
Argument
is a fixed length variable.
isFixedLength
in class DelegatedArgument
true
if it is so, and false
otherwise
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |