Table of Contents

Class Integer

Namespace
Java.Lang
Assembly
MASES.JNet.dll
public class Integer : Number, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable, INativeConvertible<Integer, int>
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
Integer
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Integer()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Integer()

Integer(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Integer(params object[] args)

Parameters

args object[]

Properties

BYTES

public static int BYTES { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

MAX_VALUE

public static int MAX_VALUE { get; }

Property Value

int

MIN_VALUE

public static int MIN_VALUE { get; }

Property Value

int

SIZE

public static int SIZE { get; }

Property Value

int

TYPE

public static Class TYPE { get; }

Property Value

Class

Methods

BitCount(int)

public static int BitCount(int arg0)

Parameters

arg0 int

int

Returns

int

int

Compare(int, int)

public static int Compare(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

CompareTo(Integer)

public int CompareTo(Integer arg0)

Parameters

arg0 Integer

Integer

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

CompareUnsigned(int, int)

public static int CompareUnsigned(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

Decode(String)

public static Integer Decode(String arg0)

Parameters

arg0 String

String

Returns

Integer

Integer

Exceptions

NumberFormatException

DivideUnsigned(int, int)

public static int DivideUnsigned(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

GetInteger(String)

public static Integer GetInteger(String arg0)

Parameters

arg0 String

String

Returns

Integer

Integer

GetInteger(String, Integer)

public static Integer GetInteger(String arg0, Integer arg1)

Parameters

arg0 String

String

arg1 Integer

Integer

Returns

Integer

Integer

GetInteger(String, int)

public static Integer GetInteger(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

Integer

Integer

HashCode(int)

public static int HashCode(int arg0)

Parameters

arg0 int

int

Returns

int

int

HighestOneBit(int)

public static int HighestOneBit(int arg0)

Parameters

arg0 int

int

Returns

int

int

LowestOneBit(int)

public static int LowestOneBit(int arg0)

Parameters

arg0 int

int

Returns

int

int

Max(int, int)

public static int Max(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

Min(int, int)

public static int Min(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

NumberOfLeadingZeros(int)

public static int NumberOfLeadingZeros(int arg0)

Parameters

arg0 int

int

Returns

int

int

NumberOfTrailingZeros(int)

public static int NumberOfTrailingZeros(int arg0)

Parameters

arg0 int

int

Returns

int

int

ParseInt(CharSequence, int, int, int)

public static int ParseInt(CharSequence arg0, int arg1, int arg2, int arg3)

Parameters

arg0 CharSequence

CharSequence

arg1 int

int

arg2 int

int

arg3 int

int

Returns

int

int

Exceptions

NumberFormatException

ParseInt(String)

public static int ParseInt(String arg0)

Parameters

arg0 String

String

Returns

int

int

Exceptions

NumberFormatException

ParseInt(String, int)

public static int ParseInt(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

int

int

Exceptions

NumberFormatException

ParseUnsignedInt(CharSequence, int, int, int)

public static int ParseUnsignedInt(CharSequence arg0, int arg1, int arg2, int arg3)

Parameters

arg0 CharSequence

CharSequence

arg1 int

int

arg2 int

int

arg3 int

int

Returns

int

int

Exceptions

NumberFormatException

ParseUnsignedInt(String)

public static int ParseUnsignedInt(String arg0)

Parameters

arg0 String

String

Returns

int

int

Exceptions

NumberFormatException

ParseUnsignedInt(String, int)

public static int ParseUnsignedInt(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

int

int

Exceptions

NumberFormatException

RemainderUnsigned(int, int)

public static int RemainderUnsigned(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

Reverse(int)

public static int Reverse(int arg0)

Parameters

arg0 int

int

Returns

int

int

ReverseBytes(int)

public static int ReverseBytes(int arg0)

Parameters

arg0 int

int

Returns

int

int

RotateLeft(int, int)

public static int RotateLeft(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

RotateRight(int, int)

public static int RotateRight(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

Signum(int)

public static int Signum(int arg0)

Parameters

arg0 int

int

Returns

int

int

Sum(int, int)

public static int Sum(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

ToBinaryString(int)

public static String ToBinaryString(int arg0)

Parameters

arg0 int

int

Returns

String

String

ToHexString(int)

public static String ToHexString(int arg0)

Parameters

arg0 int

int

Returns

String

String

ToJVM(int)

Returns the Integer from the clrValue instance

public static Integer ToJVM(int clrValue)

Parameters

clrValue int

The int of CLR

Returns

Integer

The converted Integer

ToOctalString(int)

public static String ToOctalString(int arg0)

Parameters

arg0 int

int

Returns

String

String

ToString(int)

public static String ToString(int arg0)

Parameters

arg0 int

int

Returns

String

String

ToString(int, int)

public static String ToString(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

String

String

ToUnsignedLong(int)

public static long ToUnsignedLong(int arg0)

Parameters

arg0 int

int

Returns

long

long

ToUnsignedString(int)

public static String ToUnsignedString(int arg0)

Parameters

arg0 int

int

Returns

String

String

ToUnsignedString(int, int)

public static String ToUnsignedString(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

String

String

ValueOf(String)

public static Integer ValueOf(String arg0)

Parameters

arg0 String

String

Returns

Integer

Integer

Exceptions

NumberFormatException

ValueOf(String, int)

public static Integer ValueOf(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

Integer

Integer

Exceptions

NumberFormatException

ValueOf(int)

public static Integer ValueOf(int arg0)

Parameters

arg0 int

int

Returns

Integer

Integer

Operators

implicit operator Comparable(Integer)

Converter from Integer to Comparable

public static implicit operator Comparable(Integer t)

Parameters

t Integer

Returns

Comparable

implicit operator int(Integer)

Converter from Integer to int

public static implicit operator int(Integer b)

Parameters

b Integer

Returns

int

implicit operator int?(Integer)

Converter from Integer to Nullable<T>

public static implicit operator int?(Integer b)

Parameters

b Integer

Returns

int?

implicit operator Integer(int)

Converter from int to Integer

public static implicit operator Integer(int b)

Parameters

b int

Returns

Integer

implicit operator Integer(int?)

Converter from Nullable<T> to Integer

public static implicit operator Integer(int? b)

Parameters

b int?

Returns

Integer