public class Double extends Number
| Constructor and Description |
|---|
Double(double v) |
| Modifier and Type | Method and Description |
|---|---|
double |
doubleValue()
Returns the value of the Double as double
|
float |
floatValue()
Returns the value of the Double as float
|
int |
intValue()
Returns the value of the Double as int
|
boolean |
isDouble()
Deprecated.
Use instanceof alice.tuprolog.Double instead.
|
boolean |
isEqual(Prolog mediator,
Term t)
Returns true if this Double term is equal to the term provided.
|
boolean |
isFloat()
Deprecated.
Use instanceof alice.tuprolog.Float instead.
|
boolean |
isGreater(Prolog mediator,
Term t)
Returns true if this Double 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 Double as long
|
int |
resolveVariables(int count) |
String |
toString() |
boolean |
unify(Prolog mediator,
List vl1,
List vl2,
Term t)
Tries to unify a term with the provided term argument.
|
copy, copy, copy, createNumber, free, getTerm, isAtom, isAtomic, isCompound, isEmptyList, isGround, isList, isNumber, isStruct, isVar, resolveTermcopyGoal, copyResult, createTerm, createTerm, equals, getIterator, iteratedGoalTerm, match, parse, parse, resolveTerm, unifypublic final int intValue()
public final float floatValue()
floatValue in class Numberpublic final double doubleValue()
doubleValue in class Numberpublic final long longValue()
public final boolean isInteger()
public final boolean isReal()
public final boolean isTypeInt()
public final boolean isInt()
public final boolean isTypeFloat()
isTypeFloat in class Numberpublic final boolean isFloat()
public final boolean isTypeDouble()
isTypeDouble in class Numberpublic final boolean isDouble()
public final boolean isTypeLong()
isTypeLong in class Numberpublic final boolean isLong()
public boolean isGreater(Prolog mediator, Term t)
public boolean isEqual(Prolog mediator, Term t)
public boolean unify(Prolog mediator, List vl1, List vl2, Term t)
public int resolveVariables(int count)
Copyright © 2015. All rights reserved.