mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
154 lines
3.7 KiB
XML
154 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
|
<Imports>
|
|
<Import>java.util.Hashtable</Import>
|
|
</Imports>
|
|
<Java>Hashtable</Java>
|
|
<Name>System.Collections.Generic.Dictionary</Name>
|
|
<Uses />
|
|
<Inherits>
|
|
<Type>System.Collections.ICollection</Type>
|
|
<Type>System.Collections.IDictionary</Type>
|
|
</Inherits>
|
|
<Methods>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this:16}.put(${key}, ${value})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>key</Name>
|
|
</Param>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>value</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>Add</Name>
|
|
<Return>System.Int32</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this:16}.containsKey(${key})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>key</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>Contains</Name>
|
|
<Return>System.Boolean</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this:16}.containsKey(${key})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>key</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>ContainsKey</Name>
|
|
<Return>System.Boolean</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this:16}.get(${key})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>key</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>get___idx</Name>
|
|
<Return>System.Object</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this:16}.put(${key}, ${value})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>key</Name>
|
|
</Param>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>value</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>set___idx</Name>
|
|
<Return>System.Void</Return>
|
|
</Method>
|
|
</Methods>
|
|
<Properties>
|
|
<Property>
|
|
<Imports />
|
|
<Java>${this:16}.size()</Java>
|
|
<Type>System.Int32</Type>
|
|
<Name>Count</Name>
|
|
<Get>${this:16}.size()</Get>
|
|
<Set>${this:16}.setCount(${value})</Set>
|
|
</Property>
|
|
<Property>
|
|
<Imports />
|
|
<Java>${this:16}.keySet()</Java>
|
|
<Type>System.Collections.ICollection</Type>
|
|
<Name>Keys</Name>
|
|
<Get>${this:16}.keySet()</Get>
|
|
<Set>${this:16}.setKeys(${value})</Set>
|
|
</Property>
|
|
</Properties>
|
|
<Events />
|
|
<Indexers>
|
|
<Indexer>
|
|
<Imports />
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>key</Name>
|
|
</Param>
|
|
</Params>
|
|
<Type>System.Object</Type>
|
|
<Get>${this:16}.get(${key})</Get>
|
|
<Set>${this:16}.put(${key}, ${value})</Set>
|
|
</Indexer>
|
|
</Indexers>
|
|
<Constructors>
|
|
<Constructor>
|
|
<Imports>
|
|
<Import>java.util.Hashtable</Import>
|
|
</Imports>
|
|
<Java>new Hashtable()</Java>
|
|
<Params />
|
|
</Constructor>
|
|
<Constructor>
|
|
<Imports>
|
|
<Import>java.util.Hashtable</Import>
|
|
</Imports>
|
|
<Java>new Hashtable(${length})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Int32</Type>
|
|
<Name>length</Name>
|
|
</Param>
|
|
</Params>
|
|
</Constructor>
|
|
<Constructor>
|
|
<Imports>
|
|
<Import>java.util.Hashtable</Import>
|
|
</Imports>
|
|
<Java>new Hashtable(${collection})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.ICollection</Type>
|
|
<Name>collection</Name>
|
|
</Param>
|
|
</Params>
|
|
</Constructor>
|
|
</Constructors>
|
|
<Fields />
|
|
<Casts />
|
|
<UnaryOps />
|
|
<BinaryOps />
|
|
</Class>
|