All Packages Class Hierarchy This Package Previous Next Index
Class jkp.KifLogConst
java.lang.Object
|
+----jkp.KifObj
|
+----jkp.KifForm
|
+----jkp.KifSent
|
+----jkp.KifLogConst
- public class KifLogConst
- extends KifSent
The class for KIF logical constant: true/false.
Copyright (c) 1996, Xiaocheng Luan.
All rights reserved.
- Author:
- Xiaocheng Luan
-
_boolValue
-
-
KifLogConst(boolean)
- Create a instance of KifLogConst from its logical value.
-
KifLogConst(String)
- Create a instance of KifLogConst from its string representation.
-
boolValue()
- Get the logical value of this logical constant.
-
toString()
- Convert this KIF sentence/logical constant into String format.
_boolValue
private boolean _boolValue
KifLogConst
public KifLogConst(String bconst) throws KifRTException
- Create a instance of KifLogConst from its string representation.
- Parameters:
- bconst - logical constant (true/false) in string format.
KifLogConst
public KifLogConst(boolean value)
- Create a instance of KifLogConst from its logical value.
- Parameters:
- value - logical value(in java) of the logical constant.
boolValue
public boolean boolValue()
- Get the logical value of this logical constant.
- Returns:
- the logical value of this logical constant.
toString
public String toString()
- Convert this KIF sentence/logical constant into String format.
- Returns:
- this KIF sentence/logical constant in String format.
- Overrides:
- toString in class KifObj
All Packages Class Hierarchy This Package Previous Next Index