C# Class Fan.Sys.FanInt

FanInt defines the methods for sys::Int. The actual class used for representation is Fan.Sys.Int.
Show file Open project: xored/f4 Class Usage Examples

Public Properties

Property Type Description
Chunk Long
m_defVal long
m_maxVal long
m_minVal long

Public Methods

Method Description
abs ( long self ) : long
and ( long self, long x ) : long
compare ( long self, object obj ) : long
decrement ( long self ) : long
div ( long self, long x ) : long
divDecimal ( long self, BigDecimal x ) : BigDecimal
divFloat ( long self, double x ) : double
encode ( long self, ObjEncoder @out ) : void
equals ( long self, object obj ) : bool
equalsIgnoreCase ( long self, long ch ) : bool
fromDigit ( long self ) : Long
fromDigit ( long self, long radix ) : Long
fromStr ( string s ) : Long
fromStr ( string s, long radix ) : Long
fromStr ( string s, long radix, bool check ) : Long
hash ( long self ) : long
increment ( long self ) : long
isAlpha ( long self ) : bool
isAlphaNum ( long self ) : bool
isDigit ( long self ) : bool
isDigit ( long self, long radix ) : bool
isEven ( long self ) : bool
isLower ( long self ) : bool
isOdd ( long self ) : bool
isSpace ( long self ) : bool
isUpper ( long self ) : bool
localeIsLower ( long self ) : bool
localeIsUpper ( long self ) : bool
localeLower ( long self ) : long
localeUpper ( long self ) : long
lower ( long self ) : long
max ( long self, long that ) : long
min ( long self, long that ) : long
minus ( long self, long x ) : long
minusDecimal ( long self, BigDecimal x ) : BigDecimal
minusFloat ( long self, double x ) : double
mod ( long self, long x ) : long
modDecimal ( long self, BigDecimal x ) : BigDecimal
modFloat ( long self, double x ) : double
mult ( long self, long x ) : long
multDecimal ( long self, BigDecimal x ) : BigDecimal
multFloat ( long self, double x ) : double
negate ( long self ) : long
not ( long self ) : long
or ( long self, long x ) : long
plus ( long self, long x ) : long
plusDecimal ( long self, BigDecimal x ) : BigDecimal
plusFloat ( long self, double x ) : double
pow ( long self, long pow ) : long
random ( ) : long
random ( Range r ) : long
shifta ( long self, long x ) : long
shiftl ( long self, long x ) : long
shiftr ( long self, long x ) : long
times ( long self, Func f ) : void
toChar ( long self ) : string
toCode ( long self ) : string
toCode ( long self, long b ) : string
toDateTime ( long self ) : DateTime
toDateTime ( long self, TimeZone tz ) : DateTime
toDigit ( long self ) : Long
toDigit ( long self, long radix ) : Long
toDuration ( long self ) : Duration
toHex ( long self ) : string
toHex ( long self, Long width ) : string
toLocale ( long self ) : String
toLocale ( long self, string pattern ) : String
toRadix ( long self, long radix ) : string
toRadix ( long self, long radix, Long width ) : string
toStr ( long self ) : string
type ( long self ) : Type
upper ( long self ) : long
xor ( long self, long x ) : long

Private Methods

Method Description
FanInt ( ) : System
toLocaleBytes ( long b ) : string

Method Details

abs() public static method

public static abs ( long self ) : long
self long
return long

and() public static method

public static and ( long self, long x ) : long
self long
x long
return long

compare() public static method

public static compare ( long self, object obj ) : long
self long
obj object
return long

decrement() public static method

public static decrement ( long self ) : long
self long
return long

div() public static method

public static div ( long self, long x ) : long
self long
x long
return long

divDecimal() public static method

public static divDecimal ( long self, BigDecimal x ) : BigDecimal
self long
x BigDecimal
return BigDecimal

divFloat() public static method

public static divFloat ( long self, double x ) : double
self long
x double
return double

encode() public static method

public static encode ( long self, ObjEncoder @out ) : void
self long
@out Fanx.Serial.ObjEncoder
return void

equals() public static method

public static equals ( long self, object obj ) : bool
self long
obj object
return bool

equalsIgnoreCase() public static method

public static equalsIgnoreCase ( long self, long ch ) : bool
self long
ch long
return bool

fromDigit() public static method

public static fromDigit ( long self ) : Long
self long
return Long

fromDigit() public static method

public static fromDigit ( long self, long radix ) : Long
self long
radix long
return Long

fromStr() public static method

public static fromStr ( string s ) : Long
s string
return Long

fromStr() public static method

public static fromStr ( string s, long radix ) : Long
s string
radix long
return Long

fromStr() public static method

public static fromStr ( string s, long radix, bool check ) : Long
s string
radix long
check bool
return Long

hash() public static method

public static hash ( long self ) : long
self long
return long

increment() public static method

public static increment ( long self ) : long
self long
return long

isAlpha() public static method

public static isAlpha ( long self ) : bool
self long
return bool

isAlphaNum() public static method

public static isAlphaNum ( long self ) : bool
self long
return bool

isDigit() public static method

public static isDigit ( long self ) : bool
self long
return bool

isDigit() public static method

public static isDigit ( long self, long radix ) : bool
self long
radix long
return bool

isEven() public static method

public static isEven ( long self ) : bool
self long
return bool

isLower() public static method

public static isLower ( long self ) : bool
self long
return bool

isOdd() public static method

public static isOdd ( long self ) : bool
self long
return bool

isSpace() public static method

public static isSpace ( long self ) : bool
self long
return bool

isUpper() public static method

public static isUpper ( long self ) : bool
self long
return bool

localeIsLower() public static method

public static localeIsLower ( long self ) : bool
self long
return bool

localeIsUpper() public static method

public static localeIsUpper ( long self ) : bool
self long
return bool

localeLower() public static method

public static localeLower ( long self ) : long
self long
return long

localeUpper() public static method

public static localeUpper ( long self ) : long
self long
return long

lower() public static method

public static lower ( long self ) : long
self long
return long

max() public static method

public static max ( long self, long that ) : long
self long
that long
return long

min() public static method

public static min ( long self, long that ) : long
self long
that long
return long

minus() public static method

public static minus ( long self, long x ) : long
self long
x long
return long

minusDecimal() public static method

public static minusDecimal ( long self, BigDecimal x ) : BigDecimal
self long
x BigDecimal
return BigDecimal

minusFloat() public static method

public static minusFloat ( long self, double x ) : double
self long
x double
return double

mod() public static method

public static mod ( long self, long x ) : long
self long
x long
return long

modDecimal() public static method

public static modDecimal ( long self, BigDecimal x ) : BigDecimal
self long
x BigDecimal
return BigDecimal

modFloat() public static method

public static modFloat ( long self, double x ) : double
self long
x double
return double

mult() public static method

public static mult ( long self, long x ) : long
self long
x long
return long

multDecimal() public static method

public static multDecimal ( long self, BigDecimal x ) : BigDecimal
self long
x BigDecimal
return BigDecimal

multFloat() public static method

public static multFloat ( long self, double x ) : double
self long
x double
return double

negate() public static method

public static negate ( long self ) : long
self long
return long

not() public static method

public static not ( long self ) : long
self long
return long

or() public static method

public static or ( long self, long x ) : long
self long
x long
return long

plus() public static method

public static plus ( long self, long x ) : long
self long
x long
return long

plusDecimal() public static method

public static plusDecimal ( long self, BigDecimal x ) : BigDecimal
self long
x BigDecimal
return BigDecimal

plusFloat() public static method

public static plusFloat ( long self, double x ) : double
self long
x double
return double

pow() public static method

public static pow ( long self, long pow ) : long
self long
pow long
return long

random() public static method

public static random ( ) : long
return long

random() public static method

public static random ( Range r ) : long
r Range
return long

shifta() public static method

public static shifta ( long self, long x ) : long
self long
x long
return long

shiftl() public static method

public static shiftl ( long self, long x ) : long
self long
x long
return long

shiftr() public static method

public static shiftr ( long self, long x ) : long
self long
x long
return long

times() public static method

public static times ( long self, Func f ) : void
self long
f Func
return void

toChar() public static method

public static toChar ( long self ) : string
self long
return string

toCode() public static method

public static toCode ( long self ) : string
self long
return string

toCode() public static method

public static toCode ( long self, long b ) : string
self long
b long
return string

toDateTime() public static method

public static toDateTime ( long self ) : DateTime
self long
return DateTime

toDateTime() public static method

public static toDateTime ( long self, TimeZone tz ) : DateTime
self long
tz TimeZone
return DateTime

toDigit() public static method

public static toDigit ( long self ) : Long
self long
return Long

toDigit() public static method

public static toDigit ( long self, long radix ) : Long
self long
radix long
return Long

toDuration() public static method

public static toDuration ( long self ) : Duration
self long
return Duration

toHex() public static method

public static toHex ( long self ) : string
self long
return string

toHex() public static method

public static toHex ( long self, Long width ) : string
self long
width Long
return string

toLocale() public static method

public static toLocale ( long self ) : String
self long
return String

toLocale() public static method

public static toLocale ( long self, string pattern ) : String
self long
pattern string
return String

toRadix() public static method

public static toRadix ( long self, long radix ) : string
self long
radix long
return string

toRadix() public static method

public static toRadix ( long self, long radix, Long width ) : string
self long
radix long
width Long
return string

toStr() public static method

public static toStr ( long self ) : string
self long
return string

type() public static method

public static type ( long self ) : Type
self long
return Type

upper() public static method

public static upper ( long self ) : long
self long
return long

xor() public static method

public static xor ( long self, long x ) : long
self long
x long
return long

Property Details

Chunk public static property

public static Long Chunk
return Long

m_defVal public static property

sys::Int.defVal
public static long m_defVal
return long

m_maxVal public static property

sys::Int.maxValue
public static long m_maxVal
return long

m_minVal public static property

sys::Int.maxValue
public static long m_minVal
return long