mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
59 lines
1.6 KiB
XML
Executable File
59 lines
1.6 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<Name>System.Decimal</Name>
|
|
<Java>double</Java>
|
|
<Inherits>
|
|
<Type>System.Number</Type>
|
|
<Type>System.IComparable</Type>
|
|
<Type>System.IFormattable</Type>
|
|
<Type>System.IConvertible</Type>
|
|
</Inherits>
|
|
<Properties>
|
|
<Property>
|
|
<Name>MinValue</Name>
|
|
<Type>System.Decimal</Type>
|
|
<Get>Double.MIN_VALUE</Get>
|
|
</Property>
|
|
<Property>
|
|
<Name>MaxValue</Name>
|
|
<Type>System.Decimal</Type>
|
|
<Get>Double.MAX_VALUE</Get>
|
|
</Property>
|
|
<Property>
|
|
<Name>MinusOne</Name>
|
|
<Type>System.Decimal</Type>
|
|
<Get>-1.0</Get>
|
|
</Property>
|
|
<Property>
|
|
<Name>Zero</Name>
|
|
<Type>System.Decimal</Type>
|
|
<Get>0.0</Get>
|
|
</Property>
|
|
<Property>
|
|
<Name>One</Name>
|
|
<Type>System.Decimal</Type>
|
|
<Get>1.0</Get>
|
|
</Property>
|
|
</Properties>
|
|
<Methods>
|
|
<Method>
|
|
<Return>System.String</Return>
|
|
<Name>ToString</Name>
|
|
<Java>String.valueOf(${this})</Java>
|
|
</Method>
|
|
<Method>
|
|
<Return>System.Double</Return>
|
|
<Name>Parse</Name>
|
|
<Params>
|
|
<Param>
|
|
<Name>dStr</Name>
|
|
<Type>System.String</Type>
|
|
</Param>
|
|
</Params>
|
|
<Java>Double.valueOf(${dStr})</Java>
|
|
</Method>
|
|
</Methods>
|
|
</Class>
|