|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclarion.clarion.ClarionMemoryModel
org.jclarion.clarion.ClarionObject
org.jclarion.clarion.ClarionBool
public class ClarionBool
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jclarion.clarion.ClarionMemoryModel |
|---|
ClarionMemoryModel.State |
| Constructor Summary | |
|---|---|
ClarionBool()
Create new clarion boolean. |
|
ClarionBool(boolean value)
Create new boolean |
|
ClarionBool(int value)
Create new boolean |
|
| Method Summary | |
|---|---|
ClarionObject |
add(ClarionObject object)
Do a numeric add. |
boolean |
boolValue()
Return boolen representation of the object |
void |
clear(int method)
Clear object value. |
int |
compareTo(ClarionObject object)
Do a Comparison. |
void |
deserialize(java.io.InputStream os)
Read object from memory as clarion would represent object in memory |
ClarionObject |
divide(ClarionObject object)
Do a numeric divide. |
ClarionObject |
genericLike()
|
ClarionBool |
getBool()
Convert to bool object |
ClarionDecimal |
getDecimal()
Convert to decimal object |
java.lang.Object |
getLockedObject(java.lang.Thread t)
|
ClarionNumber |
getNumber()
Convert to number object |
ClarionReal |
getReal()
Convert to real object |
int |
getSize()
Return max size of the object when represented as a string Used mainly by ASCII file driver |
ClarionString |
getString()
Convert to string object |
ClarionObject |
getThreadLockedClone()
|
int |
intValue()
Return integer representation of the object |
boolean |
isConstrained()
|
ClarionBool |
like()
clone object |
ClarionObject |
modulus(ClarionObject object)
Do a numeric modulus. |
ClarionObject |
multiply(ClarionObject object)
Do a numeric multiply. |
ClarionObject |
negate()
Do a numeric negation. |
ClarionObject |
power(ClarionObject object)
Do a numeric power. |
void |
serialize(java.io.OutputStream is)
Write java object to memory as clarion would represent object in memory |
void |
setValue(ClarionObject object)
Set object to given value |
ClarionObject |
subtract(ClarionObject object)
Do a numeric subtract. |
java.lang.String |
toString()
|
| Methods inherited from class org.jclarion.clarion.ClarionObject |
|---|
add, clear, clearNull, compareTo, concat, concatSegment, decrement, decrement, divide, doSetName, doSetOver, doSetOver, equals, gcd, getName, getOwner, getValue, increment, increment, isDecimal, modulus, multiply, power, setNull, setOver, setOwner, setValue, stringAt, stringAt, stringAt, stringAt, subtract |
| Methods inherited from class org.jclarion.clarion.ClarionMemoryModel |
|---|
addChangeListener, addChangeListener, castTo, getListenerCount, initThread, isAnyoneInterestedInChange, isThreaded, lock, notifyChange, removeChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClarionBool()
public ClarionBool(int value)
value. - 0 = false !0 = truepublic ClarionBool(boolean value)
value. - 0 = false !0 = true| Method Detail |
|---|
public ClarionObject getThreadLockedClone()
public java.lang.Object getLockedObject(java.lang.Thread t)
public java.lang.String toString()
toString in class java.lang.Objectpublic ClarionBool like()
public ClarionObject add(ClarionObject object)
ClarionObject
add in class ClarionObjectpublic int compareTo(ClarionObject object)
ClarionObject
compareTo in class ClarionObjectpublic int intValue()
ClarionObject
intValue in class ClarionObjectpublic ClarionObject multiply(ClarionObject object)
ClarionObject
multiply in class ClarionObjectpublic void setValue(ClarionObject object)
ClarionObject
setValue in class ClarionObjectpublic ClarionBool getBool()
ClarionObject
getBool in class ClarionObjectpublic ClarionNumber getNumber()
ClarionObject
getNumber in class ClarionObjectpublic ClarionReal getReal()
ClarionObject
getReal in class ClarionObjectpublic ClarionString getString()
ClarionObject
getString in class ClarionObjectpublic ClarionObject divide(ClarionObject object)
ClarionObject
divide in class ClarionObjectpublic ClarionObject modulus(ClarionObject object)
ClarionObject
modulus in class ClarionObjectpublic ClarionObject power(ClarionObject object)
ClarionObject
power in class ClarionObjectpublic ClarionObject subtract(ClarionObject object)
ClarionObject
subtract in class ClarionObjectpublic boolean boolValue()
ClarionObject
boolValue in class ClarionObjectpublic void clear(int method)
ClarionObject
clear in class ClarionObjectpublic ClarionObject negate()
ClarionObject
negate in class ClarionObjectpublic ClarionDecimal getDecimal()
ClarionObject
getDecimal in class ClarionObject
public void deserialize(java.io.InputStream os)
throws java.io.IOException
ClarionMemoryModel
deserialize in class ClarionMemoryModeljava.io.IOException
public void serialize(java.io.OutputStream is)
throws java.io.IOException
ClarionMemoryModel
serialize in class ClarionMemoryModeljava.io.IOExceptionpublic ClarionObject genericLike()
genericLike in class ClarionObjectpublic boolean isConstrained()
isConstrained in class ClarionObjectpublic int getSize()
ClarionObject
getSize in class ClarionObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||