All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jtelos.PrimitiveType | +----jtelos.TelosInteger
java.lang.Integer
, but Java instances of
TelosInteger
are integer literals that are also
contained in a Telos KB. That is not the case for a vanilla Java
instance of Integer
, or the int
Java
primitive type.
In a loose sense, integer literals that are Java instances of
this Java class are also Telos "instances" of the integer
type. This is represented by the individual returned by
the INTEGER_TYPE()
method in the interface
KB
. In Telos, this is written as Integer
which is not to be confused with the Java class of the same name.
The only abstract method that needs to be implemented is
kb()
since these depend directly on the implementation
of the KB
Java interface.
int
.
int
.
intValue()
of the objects, not the
objects' oid's.
int
value of the integer.
public TelosInteger(int value)
public TelosInteger(Integer value)
int
.
public TelosInteger(String string)
int
.
public boolean equals(Object obj)
intValue()
of the objects, not the
objects' oid's.
public int intValue()
int
value of the integer.
public String telosName()
All Packages Class Hierarchy This Package Previous Next Index