mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
122 lines
3.1 KiB
XML
122 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
|
|
This file is
|
|
|
|
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
|
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
|
|
|
-->
|
|
<Class has_boxed_rep="true" 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 />
|
|
<Java>int</Java>
|
|
<BoxedJava>Integer</BoxedJava>
|
|
<Name>System.Int32</Name>
|
|
<Uses />
|
|
<Inherits>
|
|
<Type>System.Number</Type>
|
|
<Type>System.IComparable</Type>
|
|
<Type>System.IFormattable</Type>
|
|
<Type>System.IConvertible</Type>
|
|
<Type>System.Int64</Type> <!-- implicit cast-->
|
|
<Type>System.Double</Type> <!-- implicit cast-->
|
|
<Type>System.Single</Type> <!-- implicit cast-->
|
|
<Type>System.Decimal</Type> <!-- implicit cast-->
|
|
</Inherits>
|
|
<Methods>
|
|
<Method>
|
|
<Imports />
|
|
<Java>String.valueOf(${this})</Java>
|
|
<Params />
|
|
<Name>ToString</Name>
|
|
<Return>System.String</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports>
|
|
<Import>CS2JNet.System.IntegerSupport</Import>
|
|
</Imports>
|
|
<Java>IntegerSupport.mkString(${this}, ${str})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.String</Type>
|
|
<Name>str</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>ToString</Name>
|
|
<Return>System.String</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>Integer.valueOf(${str})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.String</Type>
|
|
<Name>str</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>Parse</Name>
|
|
<Return>System.Int32</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports>
|
|
<Import>CS2JNet.System.IntegerSupport</Import>
|
|
</Imports>
|
|
<Java>IntegerSupport.parse(${str}, ${style})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.String</Type>
|
|
<Name>str</Name>
|
|
</Param>
|
|
<Param>
|
|
<Type>System.Globalization.NumberStyles</Type>
|
|
<Name>style</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>Parse</Name>
|
|
<Return>System.Int32</Return>
|
|
</Method>
|
|
</Methods>
|
|
<Properties>
|
|
<Property>
|
|
<Imports />
|
|
<Java>Integer.MIN_VALUE</Java>
|
|
<Type>System.Int32</Type>
|
|
<Name>MinValue</Name>
|
|
<Get>Integer.MIN_VALUE</Get>
|
|
<Set>${this:16}.setMinValue(${value})</Set>
|
|
</Property>
|
|
<Property>
|
|
<Imports />
|
|
<Java>Integer.MAX_VALUE</Java>
|
|
<Type>System.Int32</Type>
|
|
<Name>MaxValue</Name>
|
|
<Get>Integer.MAX_VALUE</Get>
|
|
<Set>${this:16}.setMaxValue(${value})</Set>
|
|
</Property>
|
|
<Property>
|
|
<Imports />
|
|
<Java>${this}</Java>
|
|
<Type>System.Int32</Type>
|
|
<Name>Value</Name>
|
|
<Get>${this}</Get>
|
|
<Set>${this:16}.setValue(${value})</Set>
|
|
</Property>
|
|
</Properties>
|
|
<Events />
|
|
<Indexers />
|
|
<Constructors />
|
|
<Fields />
|
|
<Casts>
|
|
<!--
|
|
<Cast>
|
|
<Imports />
|
|
<Java>((Number)${expr}).intValue()</Java>
|
|
<From>System.Object</From>
|
|
<To>System.Int32</To>
|
|
</Cast>
|
|
-->
|
|
</Casts>
|
|
<UnaryOps />
|
|
<BinaryOps />
|
|
</Class>
|