|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectalice.tuprolog.Term
alice.tuprolog.Number
alice.tuprolog.Long
Long class represents the long prolog data type
Field Summary |
Fields inherited from class alice.tuprolog.Term |
FALSE, TRUE |
Constructor Summary | |
Long(long v)
|
Method Summary | |
double |
doubleValue()
Returns the value of the Integer as double |
float |
floatValue()
Returns the value of the Integer as float |
int |
intValue()
Returns the value of the Integer as int |
boolean |
isDouble()
Deprecated. Use instanceof alice.tuprolog.Double instead. |
boolean |
isEqual(Term t)
Returns true if this integer term is equal that the term provided. |
boolean |
isFloat()
Deprecated. Use instanceof alice.tuprolog.Float instead. |
boolean |
isGreater(Term t)
Returns true if this integer term is grater that the term provided. |
boolean |
isInt()
Deprecated. Use instanceof Int instead. |
boolean |
isInteger()
is this term a prolog integer term? |
boolean |
isLong()
Deprecated. Use instanceof alice.tuprolog.Long instead. |
boolean |
isReal()
is this term a prolog real term? |
boolean |
isTypeDouble()
Deprecated. Use instanceof alice.tuprolog.Double instead. |
boolean |
isTypeFloat()
Deprecated. Use instanceof alice.tuprolog.Float instead. |
boolean |
isTypeInt()
Deprecated. Use instanceof Int instead. |
boolean |
isTypeLong()
Deprecated. Use instanceof alice.tuprolog.Long instead. |
long |
longValue()
Returns the value of the Integer as long |
java.lang.String |
toString()
|
Methods inherited from class alice.tuprolog.Number |
copy, createNumber, free, getTerm, isAtom, isAtomic, isCompound, isEmptyList, isGround, isList, isNumber, isStruct, isVar |
Methods inherited from class alice.tuprolog.Term |
copyGoal, copyResult, createTerm, createTerm, equals, getIterator, iteratedGoalTerm, match, parse, parse, resolveTerm, unify |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Long(long v)
Method Detail |
public final int intValue()
intValue
in class Number
public final float floatValue()
floatValue
in class Number
public final double doubleValue()
doubleValue
in class Number
public final long longValue()
longValue
in class Number
public final boolean isInteger()
isInteger
in class Number
public final boolean isReal()
isReal
in class Number
public final boolean isTypeInt()
isTypeInt
in class Number
public final boolean isInt()
isInt
in class Number
public final boolean isTypeFloat()
isTypeFloat
in class Number
public final boolean isFloat()
isFloat
in class Number
public final boolean isTypeDouble()
isTypeDouble
in class Number
public final boolean isDouble()
isDouble
in class Number
public final boolean isTypeLong()
isTypeLong
in class Number
public final boolean isLong()
isLong
in class Number
public boolean isGreater(Term t)
isGreater
in class Term
public boolean isEqual(Term t)
isEqual
in class Term
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |