2011-05-22 17:40:22 +02:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2011-04-07 10:51:52 +02:00
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
This file is
|
|
|
|
|
|
|
|
|
|
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
|
|
|
|
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
<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>
|
2011-04-13 15:58:32 +02:00
|
|
|
|
<Import>CS2JNet.JavaSupport.Collections.Generic.CollectionSupport</Import>
|
2011-04-07 10:51:52 +02:00
|
|
|
|
</Imports>
|
2011-04-13 15:58:32 +02:00
|
|
|
|
<Java>CollectionSupport*[${T}]*</Java>
|
2011-04-07 10:51:52 +02:00
|
|
|
|
<!-- Actually: System.Collections.Generic.Dictionary<TKey, TValue>.KeyCollection -->
|
|
|
|
|
<Name>System.Collections.Generic.KeyCollection</Name>
|
|
|
|
|
<TypeParams>
|
|
|
|
|
<Name>T</Name>
|
|
|
|
|
</TypeParams>
|
|
|
|
|
<Uses />
|
|
|
|
|
<Inherits>
|
|
|
|
|
</Inherits>
|
|
|
|
|
<Iterable>
|
|
|
|
|
<ElementType>T</ElementType>
|
|
|
|
|
<Java>${expr}</Java>
|
|
|
|
|
</Iterable>
|
|
|
|
|
<Methods>
|
|
|
|
|
<Method>
|
|
|
|
|
<Imports>
|
|
|
|
|
<Import>CS2JNet.System.Collections.Generic.KeyCollectionSupport</Import>
|
|
|
|
|
</Imports>
|
2011-04-13 15:58:32 +02:00
|
|
|
|
<Java>${this:16}.CopyTo(${array}, ${index})</Java>
|
2011-04-07 10:51:52 +02:00
|
|
|
|
<Params>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>T[]</Type>
|
|
|
|
|
<Name>array</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
<Param>
|
|
|
|
|
<Type>System.Int32</Type>
|
|
|
|
|
<Name>index</Name>
|
|
|
|
|
</Param>
|
|
|
|
|
</Params>
|
|
|
|
|
<Name>CopyTo</Name>
|
|
|
|
|
<Return>System.Void</Return>
|
|
|
|
|
</Method>
|
2011-04-13 11:45:38 +02:00
|
|
|
|
<Method>
|
|
|
|
|
<Imports>
|
|
|
|
|
<Import>CS2JNet.JavaSupport.Collections.Generic.EnumeratorSupport</Import>
|
|
|
|
|
</Imports>
|
2011-04-18 19:27:23 +02:00
|
|
|
|
<Java>new EnumeratorSupport*[T]*(${this:16}.iterator())</Java>
|
2011-04-13 11:45:38 +02:00
|
|
|
|
<Params>
|
|
|
|
|
</Params>
|
|
|
|
|
<Name>GetEnumerator</Name>
|
|
|
|
|
<Return>System.Collections.Generic.IEnumerator*[T]*</Return>
|
|
|
|
|
</Method>
|
2011-04-07 10:51:52 +02:00
|
|
|
|
</Methods>
|
|
|
|
|
<Properties>
|
|
|
|
|
<Property>
|
|
|
|
|
<Imports />
|
|
|
|
|
<Java>${this:16}.size()</Java>
|
|
|
|
|
<Type>System.Int32</Type>
|
|
|
|
|
<Name>Count</Name>
|
|
|
|
|
<Get>${this:16}.size()</Get>
|
|
|
|
|
</Property>
|
|
|
|
|
</Properties>
|
|
|
|
|
<Events />
|
|
|
|
|
<Indexers>
|
|
|
|
|
</Indexers>
|
|
|
|
|
<Constructors>
|
|
|
|
|
</Constructors>
|
|
|
|
|
<Fields />
|
|
|
|
|
<Casts />
|
|
|
|
|
<UnaryOps />
|
|
|
|
|
<BinaryOps />
|
2013-03-15 16:50:55 +01:00
|
|
|
|
</Class>
|