long class : I getter

Description

Gets an instance of the int type with the same value.

Syntax

longInstance.I

Arguments

None

Return value

ClassDescription
intAn instance of the int type with the same value.

Sample code

//anyLong is a instance of long type.

int cast = anyLong.I;

Notes

Exception is thrown if the value of the instance is over the limit of int type.

Links for reference

None

Copyright © Rice All rights reserved.