2011-05-22 17:40:22 +02:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2011-02-08 12:27:00 +01:00
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
This file is
|
|
|
|
|
|
|
|
|
|
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
2011-03-22 08:50:05 +01:00
|
|
|
|
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
2011-02-08 12:27:00 +01:00
|
|
|
|
|
|
|
|
|
-->
|
2011-01-04 17:46:11 +01:00
|
|
|
|
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
2011-01-10 11:18:36 +01:00
|
|
|
|
<Imports />
|
2011-01-04 15:58:18 +01:00
|
|
|
|
<Java>double</Java>
|
|
|
|
|
<Name>System.Double</Name>
|
|
|
|
|
<Uses />
|
|
|
|
|
<Inherits>
|
|
|
|
|
<Type>System.Number</Type>
|
|
|
|
|
<Type>System.IComparable</Type>
|
|
|
|
|
<Type>System.IFormattable</Type>
|
|
|
|
|
<Type>System.IConvertible</Type>
|
|
|
|
|
</Inherits>
|
|
|
|
|
<Methods>
|
|
|
|
|
<Method>
|
|
|
|
|
<Imports />
|
|
|
|
|
<Java>Double.isNaN(${d})</Java>
|
|
|
|
|
<Params>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.Double</Type>
|
|
|
|
|
<Name>d</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
</Params>
|
|
|
|
|
<Name>IsNaN</Name>
|
|
|
|
|
<Return>System.Boolean</Return>
|
|
|
|
|
</Method>
|
|
|
|
|
<Method>
|
|
|
|
|
<Imports />
|
|
|
|
|
<Java>Double.valueOf(${dStr})</Java>
|
|
|
|
|
<Params>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.String</Type>
|
|
|
|
|
<Name>dStr</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
</Params>
|
|
|
|
|
<Name>Parse</Name>
|
|
|
|
|
<Return>System.Double</Return>
|
|
|
|
|
</Method>
|
2011-05-02 15:34:21 +02:00
|
|
|
|
<Method>
|
|
|
|
|
<Imports>
|
|
|
|
|
<Import>CS2JNet.System.DoubleSupport</Import>
|
|
|
|
|
</Imports>
|
|
|
|
|
<Java>DoubleSupport.tryParse(${dStr}, ${result})</Java>
|
|
|
|
|
<Params>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.String</Type>
|
|
|
|
|
<Name>dStr</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.Double</Type>
|
|
|
|
|
<Name>result</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
</Params>
|
|
|
|
|
<Name>TryParse</Name>
|
|
|
|
|
<Return>System.Boolean</Return>
|
|
|
|
|
</Method>
|
|
|
|
|
<Method>
|
|
|
|
|
<Imports>
|
|
|
|
|
<Import>CS2JNet.System.DoubleSupport</Import>
|
|
|
|
|
</Imports>
|
|
|
|
|
<Java>DoubleSupport.tryParse(${dStr}, ${style}, ${provider}, ${result})</Java>
|
|
|
|
|
<Params>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.String</Type>
|
|
|
|
|
<Name>dStr</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.Globalization.NumberStyles</Type>
|
|
|
|
|
<Name>style</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.IFormatProvider</Type>
|
|
|
|
|
<Name>provider</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.Double</Type>
|
|
|
|
|
<Name>result</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
</Params>
|
|
|
|
|
<Name>TryParse</Name>
|
|
|
|
|
<Return>System.Boolean</Return>
|
|
|
|
|
</Method>
|
2011-01-04 15:58:18 +01:00
|
|
|
|
<Method>
|
|
|
|
|
<Imports>
|
2011-01-10 11:45:19 +01:00
|
|
|
|
<Import>java.text.NumberFormat</Import>
|
2011-01-04 15:58:18 +01:00
|
|
|
|
</Imports>
|
|
|
|
|
<Java>NumberFormat.getInstance(${provider}).parse(${dStr}).doubleValue()</Java>
|
|
|
|
|
<Params>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.String</Type>
|
|
|
|
|
<Name>dStr</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.IFormatProvider</Type>
|
|
|
|
|
<Name>provider</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
</Params>
|
|
|
|
|
<Name>Parse</Name>
|
|
|
|
|
<Return>System.Double</Return>
|
|
|
|
|
</Method>
|
|
|
|
|
<Method>
|
|
|
|
|
<Imports>
|
2011-02-08 10:25:05 +01:00
|
|
|
|
<Import>CS2JNet.System.*</Import>
|
2011-01-04 15:58:18 +01:00
|
|
|
|
</Imports>
|
|
|
|
|
<Java>DoubleSupport.parse(${dStr}, ${style}, ${provider})</Java>
|
|
|
|
|
<Params>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.String</Type>
|
|
|
|
|
<Name>dStr</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.Globalization.NumberStyles</Type>
|
|
|
|
|
<Name>style</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.IFormatProvider</Type>
|
|
|
|
|
<Name>provider</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
</Params>
|
|
|
|
|
<Name>Parse</Name>
|
|
|
|
|
<Return>System.Double</Return>
|
|
|
|
|
</Method>
|
|
|
|
|
<Method>
|
|
|
|
|
<Imports>
|
2011-02-08 10:25:05 +01:00
|
|
|
|
<Import>CS2JNet.System.*</Import>
|
2011-01-04 15:58:18 +01:00
|
|
|
|
</Imports>
|
|
|
|
|
<Java>DoubleSupport.ToString(${this}, ${format})</Java>
|
|
|
|
|
<Params>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.String</Type>
|
|
|
|
|
<Name>format</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
</Params>
|
|
|
|
|
<Name>ToString</Name>
|
|
|
|
|
<Return>System.String</Return>
|
|
|
|
|
</Method>
|
|
|
|
|
<Method>
|
|
|
|
|
<Imports />
|
|
|
|
|
<Java>String.valueOf(${this})</Java>
|
|
|
|
|
<Params />
|
|
|
|
|
<Name>ToString</Name>
|
|
|
|
|
<Return>System.String</Return>
|
|
|
|
|
</Method>
|
|
|
|
|
<Method>
|
|
|
|
|
<Imports>
|
2011-02-08 10:25:05 +01:00
|
|
|
|
<Import>CS2JNet.System.DoubleSupport</Import>
|
2011-01-04 15:58:18 +01:00
|
|
|
|
</Imports>
|
|
|
|
|
<Java>DoubleSupport.ToString(${this}, ${provider})</Java>
|
|
|
|
|
<Params>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.Globalization.CultureInfo</Type>
|
|
|
|
|
<Name>provider</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
</Params>
|
|
|
|
|
<Name>ToString</Name>
|
|
|
|
|
<Return>System.String</Return>
|
|
|
|
|
</Method>
|
|
|
|
|
</Methods>
|
|
|
|
|
<Properties>
|
|
|
|
|
<Property>
|
|
|
|
|
<Imports />
|
|
|
|
|
<Java>Double.MIN_VALUE</Java>
|
|
|
|
|
<Type>System.Double</Type>
|
|
|
|
|
<Name>MinValue</Name>
|
|
|
|
|
<Get>Double.MIN_VALUE</Get>
|
2011-02-01 22:52:28 +01:00
|
|
|
|
<Set>${this:16}.setMinValue(${value})</Set>
|
2011-01-04 15:58:18 +01:00
|
|
|
|
</Property>
|
|
|
|
|
<Property>
|
|
|
|
|
<Imports />
|
|
|
|
|
<Java>Double.MAX_VALUE</Java>
|
|
|
|
|
<Type>System.Double</Type>
|
|
|
|
|
<Name>MaxValue</Name>
|
|
|
|
|
<Get>Double.MAX_VALUE</Get>
|
2011-02-01 22:52:28 +01:00
|
|
|
|
<Set>${this:16}.setMaxValue(${value})</Set>
|
2011-01-04 15:58:18 +01:00
|
|
|
|
</Property>
|
|
|
|
|
<Property>
|
|
|
|
|
<Imports />
|
|
|
|
|
<Java>Double.NaN</Java>
|
|
|
|
|
<Type>System.Double</Type>
|
|
|
|
|
<Name>NaN</Name>
|
|
|
|
|
<Get>Double.NaN</Get>
|
2011-02-01 22:52:28 +01:00
|
|
|
|
<Set>${this:16}.setNaN(${value})</Set>
|
2011-01-04 15:58:18 +01:00
|
|
|
|
</Property>
|
|
|
|
|
<Property>
|
|
|
|
|
<Imports />
|
|
|
|
|
<Java>Double.NEGATIVE_INFINITY</Java>
|
|
|
|
|
<Type>System.Double</Type>
|
|
|
|
|
<Name>NegativeInfinity</Name>
|
|
|
|
|
<Get>Double.NEGATIVE_INFINITY</Get>
|
2011-02-01 22:52:28 +01:00
|
|
|
|
<Set>${this:16}.setNegativeInfinity(${value})</Set>
|
2011-01-04 15:58:18 +01:00
|
|
|
|
</Property>
|
|
|
|
|
<Property>
|
|
|
|
|
<Imports />
|
|
|
|
|
<Java>Double.POSITIVE_INFINITY</Java>
|
|
|
|
|
<Type>System.Double</Type>
|
|
|
|
|
<Name>PositiveInfinity</Name>
|
|
|
|
|
<Get>Double.POSITIVE_INFINITY</Get>
|
2011-02-01 22:52:28 +01:00
|
|
|
|
<Set>${this:16}.setPositiveInfinity(${value})</Set>
|
2011-01-04 15:58:18 +01:00
|
|
|
|
</Property>
|
|
|
|
|
</Properties>
|
|
|
|
|
<Events />
|
|
|
|
|
<Indexers />
|
|
|
|
|
<Constructors />
|
|
|
|
|
<Fields />
|
|
|
|
|
<Casts>
|
|
|
|
|
<Cast>
|
|
|
|
|
<Imports />
|
|
|
|
|
<Java>((int)(${expr}))</Java>
|
|
|
|
|
<From>System.Double</From>
|
|
|
|
|
<To>System.Int32</To>
|
|
|
|
|
</Cast>
|
|
|
|
|
</Casts>
|
|
|
|
|
<UnaryOps />
|
|
|
|
|
<BinaryOps />
|
2011-05-22 17:40:22 +02:00
|
|
|
|
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>AFdHPLz9RmNtz0BPBa1r5zX/rUk=</DigestValue></Reference></SignedInfo><SignatureValue>GeLp/kkAz4qtocq+sG9D3+lHXYkOOZCyFvzWxUBz8GBGLFciku5knoZHYIOiCuORpuqZOwTrAALRETqmmp8U1zQho5Xaf73X85K934Cg5mltU8SGQ8ZLi9t2TIRTvJ0Ys7Ez3x1rc4Ks9a6s5H5Ko9h9LaFQA+vGCxoWc0o+dXE=</SignatureValue></Signature></Class>
|