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

49 lines
1.2 KiB
XML
Raw Permalink Normal View History

2011-11-05 14:48:40 +01:00
<?xml version="1.0" encoding="utf-8"?>
2011-03-04 18:10:28 +01:00
<!--
This file is
2011-03-22 08:50:05 +01:00
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
2011-03-04 18:10:28 +01:00
-->
<Interface 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>CS2JNet.System.Collections.ICollection</Import>
2011-03-04 18:10:28 +01:00
</Imports>
<Java>ICollection*[${T}]*</Java>
2011-03-04 18:10:28 +01:00
<Name>System.Collections.Generic.ICollection</Name>
<TypeParams>
<Name>T</Name>
</TypeParams>
<Inherits>
2011-11-05 14:48:40 +01:00
<Type>&gt;System.Collections.Generic.IEnumerable*[T]*</Type>
</Inherits>
2011-03-04 18:10:28 +01:00
<Iterable>
<ElementType>T</ElementType>
<Java>${expr}</Java>
</Iterable>
<Properties>
<Property>
<Imports />
<Java>${this:16}.size()</Java>
<Type>System.Int32</Type>
<Name>Count</Name>
<Get>${this:16}.size()</Get>
</Property>
2011-03-04 18:10:28 +01:00
</Properties>
2011-05-24 12:16:42 +02:00
<Methods>
<Method>
<Imports />
<Java>${this:16}.add(${arg})</Java>
<Params>
<Param>
<Type>T</Type>
<Name>arg</Name>
</Param>
</Params>
<Name>Add</Name>
<Return>System.Int32</Return>
</Method>
</Methods>
2013-03-15 16:50:55 +01:00
</Interface>