<?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 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> <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> (how to treat ints as longs when necessary)--> </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> </Properties> <Events /> <Indexers /> <Constructors /> <Fields /> <Casts /> <UnaryOps /> <BinaryOps /> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>ee4shtgByHk+rz7iW0IrblSu/tU=</DigestValue></Reference></SignedInfo><SignatureValue>DyYu37ip7PQxgZEpLh8C+4JCDSXSCyR5QqnzAUn2385Dt2u3Njc2v+2DJISKPJpWVJFVK9TYnVK8u4/oFy1kE7o1eQUKfT45942M8rdgOmvzY/He7q0ywYfP2OOn5KcErn3CkW1R4lJr9WJNfc8yCAB/hMoATnwF8/cn+f4RCHo=</SignatureValue></Signature></Class>