public abstract class NumberTerm extends Term
| Modifier and Type | Field and Description | 
|---|---|
protected Number | 
value
The number term immutable value 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
doubleValue()  | 
boolean | 
equals(Object obj)  | 
float | 
floatValue()  | 
Number | 
getValue()  | 
boolean | 
hasFunctor(Functor functor)
Whether this term has a given functor. 
 | 
int | 
hashCode()  | 
int | 
intValue()  | 
boolean | 
isGround()  | 
long | 
longValue()  | 
Term | 
preCompile(Environment env)  | 
Term | 
prepareForFrame(Environment env)  | 
Term | 
prepareForQuery(Environment env)  | 
String | 
toEscapedString()  | 
String | 
toString(OperatorsContext operatorsContext)  | 
accept, arg, arity, asList, basicIsList, basicRead, canUnify, changeVariablesNames, compile, compile, compile, compile, compileAndUnify, compileAndUnifyVars, getArgs, getNamedVariables, getNamedVariablesNames, getNonUnderscoreVariableNames, getNonUnderscoreVariables, getVariableNames, getVariables, hasFunctor, hasFunctor, hasFunctor, hasFunctor, hasVariable, isHilog, isList, listLength, prepareForFrame, prepareForQuery, read, read, replaceVariables, resolveBindings, termEquals, termEquals, termExpansion, toEscapedString, toEscapedString, toString, unify, unifyAndBind, varBindingsprotected final Number value
public Number getValue()
public final int intValue()
public final long longValue()
public final float floatValue()
public final double doubleValue()
public boolean isGround()
public String toEscapedString()
toEscapedString in class Termpublic boolean hasFunctor(Functor functor)
TermhasFunctor in class Termfunctor - the functor of this term.public String toString(OperatorsContext operatorsContext)
public Term preCompile(Environment env)
preCompile in class Termpublic Term prepareForQuery(Environment env)
prepareForQuery in class Termpublic Term prepareForFrame(Environment env)
prepareForFrame in class TermCopyright © 2014. All rights reserved.