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

129 lines
3.4 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.Collections.Hashtable</Name>
<Imports>
<Import>java.util.Hashtable</Import>
</Imports>
<Java>Hashtable</Java>
<Inherits>
<Type>System.Collections.ICollection</Type>
<Type>System.Collections.IDictionary</Type>
</Inherits>
<Constructors>
<Constructor>
<Imports>
<Import>java.util.Hashtable</Import>
</Imports>
<Java>new Hashtable()</Java>
</Constructor>
<Constructor>
<Params>
<Param>
<Name>length</Name>
<Type>System.Int32</Type>
</Param>
</Params>
<Imports>
<Import>java.util.Hashtable</Import>
</Imports>
<Java>new Hashtable(${length})</Java>
</Constructor>
<Constructor>
<Params>
<Param>
<Name>collection</Name>
<Type>System.ICollection</Type>
</Param>
</Params>
<Imports>
<Import>java.util.Hashtable</Import>
</Imports>
<Java>new Hashtable(${collection})</Java>
</Constructor>
</Constructors>
<Properties>
<Property>
<Type>System.Int32</Type>
<Name>Count</Name>
<Get>${this}.size()</Get>
</Property>
<Property>
<Type>System.Collections.ICollection</Type>
<Name>Keys</Name>
<Get>${this}.keySet()</Get>
</Property>
<Property>
<Type>System.Collections.ICollection</Type>
<Name>Values</Name>
<Get>${this}.values()</Get>
</Property>
</Properties>
<Methods>
<Method>
<Return>System.Int32</Return>
<Name>Add</Name>
<Params>
<Param>
<Name>key</Name>
<Type>System.Object</Type>
</Param>
<Param>
<Name>value</Name>
<Type>System.Object</Type>
</Param>
</Params>
<Java>${this}.put(${key}, ${value})</Java>
</Method>
<Method>
<Return>System.Boolean</Return>
<Name>Contains</Name>
<Params>
<Param>
<Name>key</Name>
<Type>System.Object</Type>
</Param>
</Params>
<Java>${this}.containsKey(${key})</Java>
</Method>
<Method>
<Return>System.Boolean</Return>
<Name>ContainsKey</Name>
<Params>
<Param>
<Name>key</Name>
<Type>System.Object</Type>
</Param>
</Params>
<Java>${this}.containsKey(${key})</Java>
</Method>
<Method>
<Return>System.Object</Return>
<Name>get___idx</Name>
<Params>
<Param>
<Name>key</Name>
<Type>System.Object</Type>
</Param>
</Params>
<Java>${this}.get(${key})</Java>
</Method>
<Method>
<Return>System.Void</Return>
<Name>set___idx</Name>
<Params>
<Param>
<Name>key</Name>
<Type>System.Object</Type>
</Param>
<Param>
<Name>value</Name>
<Type>System.Object</Type>
</Param>
</Params>
<Java>${this}.put(${key}, ${value})</Java>
</Method>
</Methods>
</Class>