mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
54 lines
1.5 KiB
XML
Executable File
54 lines
1.5 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.Boolean</Name>
|
|
<Java>boolean</Java>
|
|
<Inherits>
|
|
<Type>System.IComparable</Type>
|
|
<Type>System.IFormattable</Type>
|
|
<Type>System.IConvertible</Type>
|
|
</Inherits>
|
|
<Properties>
|
|
<Property>
|
|
<Type>System.String</Type>
|
|
<Name>FalseString</Name>
|
|
<Get>"False"</Get>
|
|
</Property>
|
|
<Property>
|
|
<Type>System.String</Type>
|
|
<Name>TrueString</Name>
|
|
<Get>"True"</Get>
|
|
</Property>
|
|
<!-- C# 2.0 nullable value types -->
|
|
<Property>
|
|
<Type>System.Boolean</Type>
|
|
<Name>HasValue</Name>
|
|
<Get>${this} != null</Get>
|
|
</Property>
|
|
<Property>
|
|
<Type>System.Boolean</Type>
|
|
<Name>Value</Name>
|
|
<Get>${this}</Get>
|
|
</Property>
|
|
</Properties>
|
|
<Methods>
|
|
<Method>
|
|
<Return>System.Boolean</Return>
|
|
<Name>Parse</Name>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.String</Type>
|
|
<Name>str</Name>
|
|
</Param>
|
|
</Params>
|
|
<Java>Boolean.valueOf(${str})</Java>
|
|
</Method>
|
|
<Method>
|
|
<Return>System.String</Return>
|
|
<Name>ToString</Name>
|
|
<Java>String.valueOf(${this})</Java>
|
|
</Method>
|
|
</Methods>
|
|
</Class>
|