1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

73 lines
2.0 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.Int32</Name>
<Java>int</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.Int32</Type>
<Get>Integer.MIN_VALUE</Get>
</Property>
<Property>
<Name>MaxValue</Name>
<Type>System.Int32</Type>
<Get>Integer.MAX_VALUE</Get>
</Property>
</Properties>
<Methods>
<Method>
<Return>System.String</Return>
<Name>ToString</Name>
<Java>String.valueOf(${this})</Java>
</Method>
<Method>
<Return>System.String</Return>
<Name>ToString</Name>
<Params>
<Param>
<Type>System.String</Type>
<Name>str</Name>
</Param>
</Params>
<Java>IntegerSupport.mkString(${this}, ${str})</Java>
</Method>
<Method>
<Return>System.Int32</Return>
<Name>Parse</Name>
<Params>
<Param>
<Type>System.String</Type>
<Name>str</Name>
</Param>
</Params>
<Java>Integer.valueOf(${str})</Java>
</Method>
<Method>
<Return>System.Int32</Return>
<Name>Parse</Name>
<Params>
<Param>
<Type>System.String</Type>
<Name>str</Name>
</Param>
<Param>
<Name>style</Name>
<Type>System.Globalization.NumberStyles</Type>
</Param>
</Params>
<Imports>
<Import>RusticiSoftware.System.*</Import>
</Imports>
<Java>IntegerSupport.parse(${str}, ${style})</Java>
</Method>
</Methods>
</Class>