C# Class Fan.Sys.Range

Range.
Inheritance: FanObj
Show file Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@typeof ( ) : Type
Equals ( object obj ) : bool
GetHashCode ( ) : int
contains ( long i ) : bool
each ( Func f ) : void
end ( ) : long
exclusive ( ) : bool
first ( ) : Long
fromStr ( string s ) : Range
fromStr ( string s, bool check ) : Range
hash ( ) : long
inclusive ( ) : bool
isEmpty ( ) : bool
last ( ) : Long
make ( long start, long end, bool exclusive ) : Range
makeExclusive ( long start, long end ) : Range
makeInclusive ( long start, long end ) : Range
map ( Func f ) : List
max ( ) : Long
min ( ) : Long
offset ( long offset ) : Range
random ( ) : long
start ( ) : long
toList ( ) : List
toStr ( ) : string

Private Methods

Method Description
Range ( long start, long end, bool exclusive ) : System
end ( int size ) : int
end ( long size ) : long
start ( int size ) : int
start ( long size ) : long

Method Details

@typeof() public method

public @typeof ( ) : Type
return Type

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

contains() public method

public contains ( long i ) : bool
i long
return bool

each() public method

public each ( Func f ) : void
f Func
return void

end() public method

public end ( ) : long
return long

exclusive() public method

public exclusive ( ) : bool
return bool

first() public method

public first ( ) : Long
return Long

fromStr() public static method

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

fromStr() public static method

public static fromStr ( string s, bool check ) : Range
s string
check bool
return Range

hash() public method

public hash ( ) : long
return long

inclusive() public method

public inclusive ( ) : bool
return bool

isEmpty() public method

public isEmpty ( ) : bool
return bool

last() public method

public last ( ) : Long
return Long

make() public static method

public static make ( long start, long end, bool exclusive ) : Range
start long
end long
exclusive bool
return Range

makeExclusive() public static method

public static makeExclusive ( long start, long end ) : Range
start long
end long
return Range

makeInclusive() public static method

public static makeInclusive ( long start, long end ) : Range
start long
end long
return Range

map() public method

public map ( Func f ) : List
f Func
return List

max() public method

public max ( ) : Long
return Long

min() public method

public min ( ) : Long
return Long

offset() public method

public offset ( long offset ) : Range
offset long
return Range

random() public method

public random ( ) : long
return long

start() public method

public start ( ) : long
return long

toList() public method

public toList ( ) : List
return List

toStr() public method

public toStr ( ) : string
return string