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

78 lines
1.9 KiB
XML
Raw Permalink Normal View History

2013-03-04 08:56:32 -06:00
<?xml version="1.0" encoding="utf-8"?>
2011-02-08 12:27:00 +01:00
<!--
This file is
Copyright 2007,2008,2009,2010 Rustici Software, LLC
2011-03-22 08:50:05 +01:00
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
2011-02-08 12:27:00 +01:00
-->
2011-01-04 17:46:11 +01:00
<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">
2011-01-10 11:18:36 +01:00
<Imports />
<Java>Number</Java>
<Name>System.Number</Name>
<Uses />
<Inherits>
<Type>System.Object</Type>
</Inherits>
<Properties>
<Property>
<Imports />
<Java>${this} != null</Java>
<Type>System.Boolean</Type>
<Name>HasValue</Name>
<Get>${this} != null</Get>
<Set>${this:16}.setHasValue(${value})</Set>
</Property>
</Properties>
<Methods>
<Method>
<Imports>
2011-01-10 11:45:19 +01:00
<Import>java.text.NumberFormat</Import>
</Imports>
<Java>NumberFormat.getInstance(${provider}).format(${this})</Java>
<Params>
<Param>
<Type>System.Globalization.CultureInfo</Type>
<Name>provider</Name>
</Param>
</Params>
<Name>ToString</Name>
<Return>System.String</Return>
</Method>
<Method>
<Imports>
<Import>CS2JNet.System.NumberSupport</Import>
</Imports>
<Java>NumberSupport.format(${this}, ${format})</Java>
<Params>
<Param>
<Type>System.String</Type>
<Name>format</Name>
</Param>
</Params>
<Name>ToString</Name>
<Return>System.String</Return>
</Method>
2011-07-20 11:39:39 +02:00
<Method>
2011-07-20 06:33:06 -05:00
<Java>${value} == ${this} ? 0 : (${value} &gt; ${this} ? 1 : -1)</Java>
2011-07-20 11:39:39 +02:00
<Params>
<Param>
<Type>System.Number</Type>
<Name>value</Name>
</Param>
</Params>
<Name>CompareTo</Name>
<Return>System.Int32</Return>
</Method>
</Methods>
<Properties />
<Events />
<Indexers />
<Constructors />
<Fields />
<Casts />
<UnaryOps />
<BinaryOps />
2013-03-15 16:50:55 +01:00
</Class>