<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_18) on Fri Dec 09 20:48:04 GMT 2011 --> <TITLE> Calculator.DecimalPlusDecimal </TITLE> <META NAME="date" CONTENT="2011-12-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Calculator.DecimalPlusDecimal"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalModDecimal.html" title="class in net.sf.saxon.expr"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalTimesDecimal.html" title="class in net.sf.saxon.expr"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/expr/Calculator.DecimalPlusDecimal.html" target="_top"><B>FRAMES</B></A> <A HREF="Calculator.DecimalPlusDecimal.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_net.sf.saxon.expr.Calculator">NESTED</A> | <A HREF="#fields_inherited_from_class_net.sf.saxon.expr.Calculator">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> net.sf.saxon.expr</FONT> <BR> Class Calculator.DecimalPlusDecimal</H2> <PRE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../net/sf/saxon/expr/Calculator.html" title="class in net.sf.saxon.expr">net.sf.saxon.expr.Calculator</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.saxon.expr.Calculator.DecimalPlusDecimal</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD> </DL> <DL> <DT><B>Enclosing class:</B><DD><A HREF="../../../../net/sf/saxon/expr/Calculator.html" title="class in net.sf.saxon.expr">Calculator</A></DD> </DL> <HR> <DL> <DT><PRE>public static class <B>Calculator.DecimalPlusDecimal</B><DT>extends <A HREF="../../../../net/sf/saxon/expr/Calculator.html" title="class in net.sf.saxon.expr">Calculator</A></DL> </PRE> <P> Arithmetic: decimal + decimal (including types that promote to decimal, that is, integer) <P> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#net.sf.saxon.expr.Calculator.DecimalPlusDecimal">Serialized Form</A></DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Nested Class Summary</B></FONT></TH> </TR> </TABLE> <A NAME="nested_classes_inherited_from_class_net.sf.saxon.expr.Calculator"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Nested classes/interfaces inherited from class net.sf.saxon.expr.<A HREF="../../../../net/sf/saxon/expr/Calculator.html" title="class in net.sf.saxon.expr">Calculator</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/expr/Calculator.AnyDivAny.html" title="class in net.sf.saxon.expr">Calculator.AnyDivAny</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.AnyIdivAny.html" title="class in net.sf.saxon.expr">Calculator.AnyIdivAny</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.AnyMinusAny.html" title="class in net.sf.saxon.expr">Calculator.AnyMinusAny</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.AnyModAny.html" title="class in net.sf.saxon.expr">Calculator.AnyModAny</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.AnyPlusAny.html" title="class in net.sf.saxon.expr">Calculator.AnyPlusAny</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.AnyTimesAny.html" title="class in net.sf.saxon.expr">Calculator.AnyTimesAny</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalDivDecimal.html" title="class in net.sf.saxon.expr">Calculator.DecimalDivDecimal</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalIdivDecimal.html" title="class in net.sf.saxon.expr">Calculator.DecimalIdivDecimal</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalMinusDecimal.html" title="class in net.sf.saxon.expr">Calculator.DecimalMinusDecimal</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalModDecimal.html" title="class in net.sf.saxon.expr">Calculator.DecimalModDecimal</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalPlusDecimal.html" title="class in net.sf.saxon.expr">Calculator.DecimalPlusDecimal</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalTimesDecimal.html" title="class in net.sf.saxon.expr">Calculator.DecimalTimesDecimal</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DoubleDivDouble.html" title="class in net.sf.saxon.expr">Calculator.DoubleDivDouble</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DoubleMinusDouble.html" title="class in net.sf.saxon.expr">Calculator.DoubleMinusDouble</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DoubleModDouble.html" title="class in net.sf.saxon.expr">Calculator.DoubleModDouble</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DoublePlusDouble.html" title="class in net.sf.saxon.expr">Calculator.DoublePlusDouble</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.DoubleTimesDouble.html" title="class in net.sf.saxon.expr">Calculator.DoubleTimesDouble</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.FloatDivFloat.html" title="class in net.sf.saxon.expr">Calculator.FloatDivFloat</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.FloatIdivFloat.html" title="class in net.sf.saxon.expr">Calculator.FloatIdivFloat</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.FloatMinusFloat.html" title="class in net.sf.saxon.expr">Calculator.FloatMinusFloat</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.FloatModFloat.html" title="class in net.sf.saxon.expr">Calculator.FloatModFloat</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.FloatPlusFloat.html" title="class in net.sf.saxon.expr">Calculator.FloatPlusFloat</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.FloatTimesFloat.html" title="class in net.sf.saxon.expr">Calculator.FloatTimesFloat</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.IntegerDivInteger.html" title="class in net.sf.saxon.expr">Calculator.IntegerDivInteger</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.IntegerIdivInteger.html" title="class in net.sf.saxon.expr">Calculator.IntegerIdivInteger</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.IntegerMinusInteger.html" title="class in net.sf.saxon.expr">Calculator.IntegerMinusInteger</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.IntegerModInteger.html" title="class in net.sf.saxon.expr">Calculator.IntegerModInteger</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.IntegerPlusInteger.html" title="class in net.sf.saxon.expr">Calculator.IntegerPlusInteger</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.IntegerTimesInteger.html" title="class in net.sf.saxon.expr">Calculator.IntegerTimesInteger</A></CODE></TD> </TR> </TABLE> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.expr.Calculator"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class net.sf.saxon.expr.<A HREF="../../../../net/sf/saxon/expr/Calculator.html" title="class in net.sf.saxon.expr">Calculator</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/expr/Calculator.html#ANY_ANY">ANY_ANY</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DATETIME_DATETIME">DATETIME_DATETIME</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DATETIME_DURATION">DATETIME_DURATION</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DECIMAL_DECIMAL">DECIMAL_DECIMAL</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DECIMAL_DOUBLE">DECIMAL_DOUBLE</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DECIMAL_FLOAT">DECIMAL_FLOAT</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DECIMAL_INTEGER">DECIMAL_INTEGER</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DIV">DIV</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DOUBLE_DECIMAL">DOUBLE_DECIMAL</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DOUBLE_DOUBLE">DOUBLE_DOUBLE</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DOUBLE_FLOAT">DOUBLE_FLOAT</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DOUBLE_INTEGER">DOUBLE_INTEGER</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DURATION_DATETIME">DURATION_DATETIME</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DURATION_DURATION">DURATION_DURATION</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#DURATION_NUMERIC">DURATION_NUMERIC</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#FLOAT_DECIMAL">FLOAT_DECIMAL</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#FLOAT_DOUBLE">FLOAT_DOUBLE</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#FLOAT_FLOAT">FLOAT_FLOAT</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#FLOAT_INTEGER">FLOAT_INTEGER</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#IDIV">IDIV</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#INTEGER_DECIMAL">INTEGER_DECIMAL</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#INTEGER_DOUBLE">INTEGER_DOUBLE</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#INTEGER_FLOAT">INTEGER_FLOAT</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#INTEGER_INTEGER">INTEGER_INTEGER</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#MINUS">MINUS</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#MOD">MOD</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#NUMERIC_DURATION">NUMERIC_DURATION</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#PLUS">PLUS</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#TIMES">TIMES</A></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalPlusDecimal.html#Calculator.DecimalPlusDecimal()">Calculator.DecimalPlusDecimal</A></B>()</CODE> <BR> </TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalPlusDecimal.html#compute(net.sf.saxon.value.AtomicValue, net.sf.saxon.value.AtomicValue, net.sf.saxon.expr.XPathContext)">compute</A></B>(<A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A> a, <A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A> b, <A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A> c)</CODE> <BR> Perform an arithmetic operation</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/type/AtomicType.html" title="interface in net.sf.saxon.type">AtomicType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalPlusDecimal.html#getResultType(net.sf.saxon.type.AtomicType, net.sf.saxon.type.AtomicType)">getResultType</A></B>(<A HREF="../../../../net/sf/saxon/type/AtomicType.html" title="interface in net.sf.saxon.type">AtomicType</A> typeA, <A HREF="../../../../net/sf/saxon/type/AtomicType.html" title="interface in net.sf.saxon.type">AtomicType</A> typeB)</CODE> <BR> Get the type of the result of the calculator, given arguments types typeA and typeB</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.expr.Calculator"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class net.sf.saxon.expr.<A HREF="../../../../net/sf/saxon/expr/Calculator.html" title="class in net.sf.saxon.expr">Calculator</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/expr/Calculator.html#decimalDivide(net.sf.saxon.value.NumericValue, net.sf.saxon.value.NumericValue)">decimalDivide</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#getCalculator(int, int, int, boolean)">getCalculator</A>, <A HREF="../../../../net/sf/saxon/expr/Calculator.html#getCalculatorSetName(int, int)">getCalculatorSetName</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="Calculator.DecimalPlusDecimal()"><!-- --></A><H3> Calculator.DecimalPlusDecimal</H3> <PRE> public <B>Calculator.DecimalPlusDecimal</B>()</PRE> <DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="compute(net.sf.saxon.value.AtomicValue, net.sf.saxon.value.AtomicValue, net.sf.saxon.expr.XPathContext)"><!-- --></A><H3> compute</H3> <PRE> public <A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A> <B>compute</B>(<A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A> a, <A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A> b, <A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A> c) throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../net/sf/saxon/expr/Calculator.html#compute(net.sf.saxon.value.AtomicValue, net.sf.saxon.value.AtomicValue, net.sf.saxon.expr.XPathContext)">Calculator</A></CODE></B></DD> <DD>Perform an arithmetic operation <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/Calculator.html#compute(net.sf.saxon.value.AtomicValue, net.sf.saxon.value.AtomicValue, net.sf.saxon.expr.XPathContext)">compute</A></CODE> in class <CODE><A HREF="../../../../net/sf/saxon/expr/Calculator.html" title="class in net.sf.saxon.expr">Calculator</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>a</CODE> - the first operand. Must not be null, and must be an instance of the type implied by the class name.<DD><CODE>b</CODE> - the second operand. Must not be null, and must be an instance of the type implied by the class name.<DD><CODE>c</CODE> - the XPath dynamic evaluation context <DT><B>Returns:</B><DD>the result of the computation, as a value of the correct primitive type <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - in the event of an arithmetic error</DL> </DD> </DL> <HR> <A NAME="getResultType(net.sf.saxon.type.AtomicType, net.sf.saxon.type.AtomicType)"><!-- --></A><H3> getResultType</H3> <PRE> public <A HREF="../../../../net/sf/saxon/type/AtomicType.html" title="interface in net.sf.saxon.type">AtomicType</A> <B>getResultType</B>(<A HREF="../../../../net/sf/saxon/type/AtomicType.html" title="interface in net.sf.saxon.type">AtomicType</A> typeA, <A HREF="../../../../net/sf/saxon/type/AtomicType.html" title="interface in net.sf.saxon.type">AtomicType</A> typeB)</PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../net/sf/saxon/expr/Calculator.html#getResultType(net.sf.saxon.type.AtomicType, net.sf.saxon.type.AtomicType)">Calculator</A></CODE></B></DD> <DD>Get the type of the result of the calculator, given arguments types typeA and typeB <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/Calculator.html#getResultType(net.sf.saxon.type.AtomicType, net.sf.saxon.type.AtomicType)">getResultType</A></CODE> in class <CODE><A HREF="../../../../net/sf/saxon/expr/Calculator.html" title="class in net.sf.saxon.expr">Calculator</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>typeA</CODE> - the type of the first operand<DD><CODE>typeB</CODE> - the type of the second operand <DT><B>Returns:</B><DD>the type of the result</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalModDecimal.html" title="class in net.sf.saxon.expr"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/expr/Calculator.DecimalTimesDecimal.html" title="class in net.sf.saxon.expr"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/expr/Calculator.DecimalPlusDecimal.html" target="_top"><B>FRAMES</B></A> <A HREF="Calculator.DecimalPlusDecimal.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_net.sf.saxon.expr.Calculator">NESTED</A> | <A HREF="#fields_inherited_from_class_net.sf.saxon.expr.Calculator">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright (c) 2004-2011 Saxonica Limited. All rights reserved. </BODY> </HTML>