Package org.exist.xquery.value

Examples of org.exist.xquery.value.NumericValue.negate()


        if (item.isEmpty())
          {return item;}
       
    NumericValue value = (NumericValue)item.convertTo(Type.NUMBER);
    if(mode == Constants.MINUS)
            {result = value.negate();}
    else
            {result =  value;}
       
        if (context.getProfiler().isEnabled())
            {context.getProfiler().end(this, "", result);}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.