mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
move get___idx and set___idx to Indexers section
This commit is contained in:
parent
da43225127
commit
27e774356d
@ -50,7 +50,20 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>T</Type>
|
||||
<Get>${this}[${i}]</Get>
|
||||
<Set>${this}[${i}] = ${value}</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors />
|
||||
<Fields />
|
||||
<Casts />
|
||||
|
@ -66,34 +66,6 @@
|
||||
<Name>Contains</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.get(${i})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>get___idx</Name>
|
||||
<Return>System.Object</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.set___idx(${i}, ${v})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>v</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>set___idx</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.add(${index}, ${value})</Java>
|
||||
@ -165,7 +137,20 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Object</Type>
|
||||
<Get>${this}.get(${i})</Get>
|
||||
<Set>${this}.add(${i}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
|
@ -99,7 +99,19 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Object</Type>
|
||||
<Get>${this}.get(${key})</Get>
|
||||
<Set>${this}.put(${key}, ${value})</Set>
|
||||
</Indexer>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
|
@ -59,34 +59,6 @@
|
||||
<Name>Contains</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.get(${i})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>get___idx</Name>
|
||||
<Return>System.Object</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.set___idx(${i}, ${v})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>v</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>set___idx</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.toArrayS(new ${TYPEOF_TYPE}[0])</Java>
|
||||
@ -118,7 +90,20 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Object</Type>
|
||||
<Get>${this}.get(${i})</Get>
|
||||
<Set>${this}.put(${i}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers >
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
|
@ -51,34 +51,6 @@
|
||||
<Name>ContainsKey</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.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}.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>
|
||||
@ -107,7 +79,20 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Object</Type>
|
||||
<Get>${this}.get(${key})</Get>
|
||||
<Set>${this}.put(${key}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
|
@ -48,34 +48,6 @@
|
||||
<Name>ContainsKey</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.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}.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>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.remove(${value})</Java>
|
||||
@ -116,5 +88,18 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Object</Type>
|
||||
<Get>${this}.get(${key})</Get>
|
||||
<Set>${this}.put(${key}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
</Interface>
|
||||
|
@ -32,34 +32,6 @@
|
||||
<Name>Contains</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.get(${i})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>get___idx</Name>
|
||||
<Return>System.Object</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.set___idx(${i}, ${v})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>v</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>set___idx</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties>
|
||||
<Property>
|
||||
@ -72,7 +44,20 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Object</Type>
|
||||
<Get>${this}.get(${i})</Get>
|
||||
<Set>${this}.put(${i}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors />
|
||||
<Fields />
|
||||
<Casts />
|
||||
|
@ -118,7 +118,20 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Object</Type>
|
||||
<Get>${this}.get(${i})</Get>
|
||||
<Set>${this}.put(${i}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
|
@ -53,34 +53,6 @@
|
||||
<Name>Contains</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.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}.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>
|
||||
@ -109,7 +81,20 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Object</Type>
|
||||
<Get>${this}.get(${key})</Get>
|
||||
<Set>${this}.put(${key}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
|
@ -662,18 +662,6 @@
|
||||
<Name>TrimEnd</Name>
|
||||
<Return>System.String</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.charAt(${i})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>get___idx</Name>
|
||||
<Return>System.Char</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties>
|
||||
<Property>
|
||||
@ -694,7 +682,19 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Char</Type>
|
||||
<Get>${this}.charAt(${i})</Get>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
|
@ -8,18 +8,6 @@
|
||||
<Uses />
|
||||
<Inherits> <Type>System.Object</Type> </Inherits>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.get(${idx})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>idx</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>get___idx</Name>
|
||||
<Return>System.Xml.XmlAttribute</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.add(${att})</Java>
|
||||
@ -44,7 +32,19 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>idx</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Xml.XmlAttribute</Type>
|
||||
<Get>${this}.get(${idx})</Get>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors />
|
||||
<Fields />
|
||||
<Casts />
|
||||
|
@ -23,18 +23,6 @@
|
||||
<Name>Item</Name>
|
||||
<Return>System.Xml.XmlNode</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this}.get(${idx})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>idx</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>get___idx</Name>
|
||||
<Return>System.Xml.XmlNode</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties>
|
||||
<Property>
|
||||
@ -47,7 +35,19 @@
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>idx</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>System.Xml.XmlNode</Type>
|
||||
<Get>${this}.get(${idx})</Get>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors />
|
||||
<Fields />
|
||||
<Casts />
|
||||
|
Loading…
x
Reference in New Issue
Block a user