|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jess.RU
General utilities for Jess. All fields and methods in this class are static, and there is no constructor.
(C) 1997 Ernest J. Friedman-Hill and Sandia National Laboratories
Field Summary | |
static int |
ATOM
Data type of atom |
static int |
BINDING
Data type of variable binding stored in value (internal use) |
static int |
DT_DATA_TYPE
Relative index of slot data type within a deftemplate's slots |
static int |
DT_DFLT_DATA
Relative index of slot default value within a deftemplate's slots |
static int |
DT_SLOT_NAME
Relative index of slot name within a deftemplate's slots |
static int |
DT_SLOT_SIZE
Size of a slot in a deftemplate |
static int |
EXTERNAL_ADDRESS
Data type of external address |
static int |
FACT
Data type of a fact id |
static int |
FLOAT
Data type of float |
static int |
FUNCALL
Data type of function call stored in a value |
static int |
INTEGER
Data type of integer |
static int |
LIST
Data type of a list stored in a value |
static int |
LONG
Data type of Java long |
static int |
MULTISLOT
Data type of multislot name stored in a value |
static int |
MULTIVARIABLE
Data type of multivariable |
static int |
NONE
Data type of "no value" |
static int |
SLOT
Data type of slot name stored in a value |
static int |
STRING
Data type of string |
static int |
VARIABLE
Data type of a variable |
Method Summary | |
static java.lang.String |
gensym(java.lang.String prefix)
Generate a pseudo-unique symbol starting with "prefix" |
static java.lang.String |
getProperty(java.lang.String prop)
Get a property, but return null on SecurityException |
static java.lang.String |
getTypeName(int type)
Given a type constant (ATOM, STRING, INTEGER, etc.) return a String version of the name of that type ("ATOM", "STRING", "INTEGER", etc.) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DT_SLOT_NAME
public static final int DT_DFLT_DATA
public static final int DT_DATA_TYPE
public static final int DT_SLOT_SIZE
public static final int NONE
public static final int ATOM
public static final int STRING
public static final int INTEGER
public static final int VARIABLE
public static final int FACT
public static final int FLOAT
public static final int FUNCALL
public static final int LIST
public static final int EXTERNAL_ADDRESS
public static final int BINDING
public static final int MULTIVARIABLE
public static final int SLOT
public static final int MULTISLOT
public static final int LONG
Method Detail |
public static java.lang.String getTypeName(int type)
type
- One of the type constants in this classpublic static java.lang.String gensym(java.lang.String prefix)
prefix
- The alphabetic part of the symbolpublic static java.lang.String getProperty(java.lang.String prop)
prop
- The property name to get
|
© 1997 E.J. Friedman-Hill and Sandia Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |