mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
47 lines
1.3 KiB
XML
Executable File
47 lines
1.3 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.Array</Name>
|
|
<Inherits>
|
|
<Type>System.Collections.ICollection</Type>
|
|
<Type>System.IEnumerable</Type>
|
|
</Inherits>
|
|
<Properties>
|
|
<Property>
|
|
<Type>System.Int32</Type>
|
|
<Name>Length</Name>
|
|
<Get>${this}.length</Get>
|
|
</Property>
|
|
</Properties>
|
|
<Methods>
|
|
<Method>
|
|
<Return>${TYPE}</Return>
|
|
<Name>GetValue</Name>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Int32</Type>
|
|
<Name>index</Name>
|
|
</Param>
|
|
</Params>
|
|
<Imports>
|
|
<Import>java.util.Arrays</Import>
|
|
</Imports>
|
|
<Java>Array.get(${this}, ${index})</Java>
|
|
</Method>
|
|
<Method>
|
|
<Return>System.Void</Return>
|
|
<Name>Sort</Name>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Object[]</Type>
|
|
<Name>array</Name>
|
|
</Param>
|
|
</Params>
|
|
<Imports>
|
|
<Import>java.util.Arrays</Import>
|
|
</Imports>
|
|
<Java>Arrays.sort(${array})</Java>
|
|
</Method>
|
|
</Methods>
|
|
</Class> |