|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.sparql.expr.ExprNode
com.hp.hpl.jena.sparql.expr.NodeValue
com.hp.hpl.jena.sparql.expr.nodevalue.NodeValueDecimal
public class NodeValueDecimal
Field Summary |
---|
Fields inherited from class com.hp.hpl.jena.sparql.expr.NodeValue |
---|
DecimalZERO, FALSE, IntegerZERO, nvEmptyString, nvINF, nvNaN, nvNegINF, nvNothing, nvONE, nvZERO, TRUE, VerboseExceptions, VerboseWarnings |
Fields inherited from interface com.hp.hpl.jena.sparql.expr.Expr |
---|
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL |
Constructor Summary | |
---|---|
NodeValueDecimal(BigDecimal d)
|
|
NodeValueDecimal(BigDecimal d,
com.hp.hpl.jena.graph.Node n)
|
Method Summary | |
---|---|
String |
asString()
|
BigDecimal |
getDecimal()
|
double |
getDouble()
|
float |
getFloat()
|
boolean |
isDecimal()
|
boolean |
isDouble()
|
boolean |
isFloat()
|
boolean |
isNumber()
|
String |
toString()
|
void |
visit(NodeValueVisitor visitor)
|
Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprNode |
---|
asVar, copySubstitute, deepCopy, getExpr, getExprVar, getFunction, getGraphPattern, getVarName, getVarNamesMentioned, getVarsMentioned, isExpr, isFunction, isGraphPattern, isSatisfied, isVariable, varNamesMentioned, varsMentioned |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeValueDecimal(BigDecimal d)
public NodeValueDecimal(BigDecimal d, com.hp.hpl.jena.graph.Node n)
Method Detail |
---|
public boolean isNumber()
isNumber
in class NodeValue
public boolean isDecimal()
isDecimal
in class NodeValue
public boolean isFloat()
isFloat
in class NodeValue
public boolean isDouble()
isDouble
in class NodeValue
public BigDecimal getDecimal()
getDecimal
in class NodeValue
public float getFloat()
getFloat
in class NodeValue
public double getDouble()
getDouble
in class NodeValue
public String asString()
asString
in class NodeValue
public String toString()
toString
in class NodeValue
public void visit(NodeValueVisitor visitor)
visit
in class NodeValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |