C# Class Fan.Sys.List

List.
Inheritance: FanObj, Literal
Show file Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@typeof ( ) : Type
Equals ( object that ) : bool
GetHashCode ( ) : int
List ( Type of ) : System
List ( Type of, ICollection collection ) : System
List ( Type of, int capacity ) : System
List ( Type of, object values ) : System
List ( Type of, object values, int size ) : System
List ( string values ) : System
add ( object val ) : List
addAll ( List list ) : List
all ( Func f ) : bool
any ( Func f ) : bool
binaryFind ( Func f ) : long
binarySearch ( object key ) : long
binarySearch ( object key, Func f ) : long
capacity ( ) : long
capacity ( long c ) : void
clear ( ) : List
contains ( object val ) : bool
containsAll ( List list ) : bool
containsAny ( List list ) : bool
copyInto ( object a, int off, int len ) : object[]
dup ( ) : List
each ( Func f ) : void
eachRange ( Range r, Func f ) : void
eachWhile ( Func f ) : object
eachr ( Func f ) : void
eachrWhile ( Func f ) : object
encode ( ObjEncoder @out ) : void
exclude ( Func f ) : List
fill ( object val, long times ) : List
find ( Func f ) : object
findAll ( Func f ) : List
findIndex ( Func f ) : Long
findType ( Type t ) : List
first ( ) : object
flatten ( ) : List
get ( int i ) : object
get ( long index ) : object
getRange ( Range r ) : List
getSafe ( long index ) : object
getSafe ( long index, object def ) : object
hash ( ) : long
index ( object val ) : Long
index ( object val, long off ) : Long
indexSame ( object val ) : Long
indexSame ( object val, long off ) : Long
indexr ( object val ) : Long
indexr ( object val, long off ) : Long
insert ( long index, object val ) : List
insertAll ( long index, List list ) : List
intersection ( List that ) : List
isEmpty ( ) : bool
isImmutable ( ) : bool
isRO ( ) : bool
isRW ( ) : bool
join ( ) : string
join ( string sep ) : string
join ( string sep, Func f ) : string
last ( ) : object
make ( Type of, long capacity ) : List
makeObj ( long capacity ) : List
map ( Func f ) : List
max ( ) : object
max ( Func f ) : object
min ( ) : object
min ( Func f ) : object
moveTo ( object item, long toIndex ) : List
of ( ) : Type
peek ( ) : object
pop ( ) : object
push ( object obj ) : List
random ( ) : object
reduce ( object reduction, Func f ) : object
remove ( object val ) : object
removeAll ( List toRemove ) : List
removeAt ( long index ) : object
removeRange ( Range r ) : List
removeSame ( object val ) : object
reverse ( ) : List
ro ( ) : List
rw ( ) : List
set ( long index, object val ) : List
shuffle ( ) : List
size ( ) : long
size ( long s ) : void
sort ( ) : List
sort ( Func f ) : List
sortr ( ) : List
sortr ( Func f ) : List
swap ( long a, long b ) : List
sz ( ) : int
toArray ( ) : object[]
toArray ( object a ) : object[]
toArray ( object a, int start, int len ) : object[]
toCode ( ) : string
toImmutable ( ) : object
toStr ( ) : string
toStrings ( ) : string[]
trim ( ) : List
union ( List that ) : List
unique ( ) : List

Private Methods

Method Description
doFlatten ( List acc ) : void
grow ( int desiredSize ) : void
insert ( int i, object val ) : List
insertAll ( int i, List list ) : List
modify ( ) : void
toComparer ( Func f ) : IComparer
toReverseComparer ( Func f ) : IComparer

Method Details

@typeof() public method

public @typeof ( ) : Type
return Type

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

List() public method

public List ( Type of ) : System
of Type
return System

List() public method

public List ( Type of, ICollection collection ) : System
of Type
collection ICollection
return System

List() public method

public List ( Type of, int capacity ) : System
of Type
capacity int
return System

List() public method

public List ( Type of, object values ) : System
of Type
values object
return System

List() public method

public List ( Type of, object values, int size ) : System
of Type
values object
size int
return System

List() public method

public List ( string values ) : System
values string
return System

add() public method

public add ( object val ) : List
val object
return List

addAll() public method

public addAll ( List list ) : List
list List
return List

all() public method

public all ( Func f ) : bool
f Func
return bool

any() public method

public any ( Func f ) : bool
f Func
return bool

binaryFind() public method

public binaryFind ( Func f ) : long
f Func
return long

binarySearch() public method

public binarySearch ( object key ) : long
key object
return long

binarySearch() public method

public binarySearch ( object key, Func f ) : long
key object
f Func
return long

capacity() public method

public capacity ( ) : long
return long

capacity() public method

public capacity ( long c ) : void
c long
return void

clear() public method

public clear ( ) : List
return List

contains() public method

public contains ( object val ) : bool
val object
return bool

containsAll() public method

public containsAll ( List list ) : bool
list List
return bool

containsAny() public method

public containsAny ( List list ) : bool
list List
return bool

copyInto() public method

public copyInto ( object a, int off, int len ) : object[]
a object
off int
len int
return object[]

dup() public method

public dup ( ) : List
return List

each() public method

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

eachRange() public method

public eachRange ( Range r, Func f ) : void
r Range
f Func
return void

eachWhile() public method

public eachWhile ( Func f ) : object
f Func
return object

eachr() public method

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

eachrWhile() public method

public eachrWhile ( Func f ) : object
f Func
return object

encode() public method

public encode ( ObjEncoder @out ) : void
@out Fanx.Serial.ObjEncoder
return void

exclude() public method

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

fill() public method

public fill ( object val, long times ) : List
val object
times long
return List

find() public method

public find ( Func f ) : object
f Func
return object

findAll() public method

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

findIndex() public method

public findIndex ( Func f ) : Long
f Func
return Long

findType() public method

public findType ( Type t ) : List
t Type
return List

first() public method

public first ( ) : object
return object

flatten() public method

public flatten ( ) : List
return List

get() public method

public get ( int i ) : object
i int
return object

get() public method

public get ( long index ) : object
index long
return object

getRange() public method

public getRange ( Range r ) : List
r Range
return List

getSafe() public method

public getSafe ( long index ) : object
index long
return object

getSafe() public method

public getSafe ( long index, object def ) : object
index long
def object
return object

hash() public method

public hash ( ) : long
return long

index() public method

public index ( object val ) : Long
val object
return Long

index() public method

public index ( object val, long off ) : Long
val object
off long
return Long

indexSame() public method

public indexSame ( object val ) : Long
val object
return Long

indexSame() public method

public indexSame ( object val, long off ) : Long
val object
off long
return Long

indexr() public method

public indexr ( object val ) : Long
val object
return Long

indexr() public method

public indexr ( object val, long off ) : Long
val object
off long
return Long

insert() public method

public insert ( long index, object val ) : List
index long
val object
return List

insertAll() public method

public insertAll ( long index, List list ) : List
index long
list List
return List

intersection() public method

public intersection ( List that ) : List
that List
return List

isEmpty() public method

public isEmpty ( ) : bool
return bool

isImmutable() public method

public isImmutable ( ) : bool
return bool

isRO() public method

public isRO ( ) : bool
return bool

isRW() public method

public isRW ( ) : bool
return bool

join() public method

public join ( ) : string
return string

join() public method

public join ( string sep ) : string
sep string
return string

join() public method

public join ( string sep, Func f ) : string
sep string
f Func
return string

last() public method

public last ( ) : object
return object

make() public static method

public static make ( Type of, long capacity ) : List
of Type
capacity long
return List

makeObj() public static method

public static makeObj ( long capacity ) : List
capacity long
return List

map() public method

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

max() public method

public max ( ) : object
return object

max() public method

public max ( Func f ) : object
f Func
return object

min() public method

public min ( ) : object
return object

min() public method

public min ( Func f ) : object
f Func
return object

moveTo() public method

public moveTo ( object item, long toIndex ) : List
item object
toIndex long
return List

of() public method

public of ( ) : Type
return Type

peek() public method

public peek ( ) : object
return object

pop() public method

public pop ( ) : object
return object

push() public method

public push ( object obj ) : List
obj object
return List

random() public method

public random ( ) : object
return object

reduce() public method

public reduce ( object reduction, Func f ) : object
reduction object
f Func
return object

remove() public method

public remove ( object val ) : object
val object
return object

removeAll() public method

public removeAll ( List toRemove ) : List
toRemove List
return List

removeAt() public method

public removeAt ( long index ) : object
index long
return object

removeRange() public method

public removeRange ( Range r ) : List
r Range
return List

removeSame() public method

public removeSame ( object val ) : object
val object
return object

reverse() public method

public reverse ( ) : List
return List

ro() public method

public ro ( ) : List
return List

rw() public method

public rw ( ) : List
return List

set() public method

public set ( long index, object val ) : List
index long
val object
return List

shuffle() public method

public shuffle ( ) : List
return List

size() public method

public size ( ) : long
return long

size() public method

public size ( long s ) : void
s long
return void

sort() public method

public sort ( ) : List
return List

sort() public method

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

sortr() public method

public sortr ( ) : List
return List

sortr() public method

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

swap() public method

public swap ( long a, long b ) : List
a long
b long
return List

sz() public method

public sz ( ) : int
return int

toArray() public method

public toArray ( ) : object[]
return object[]

toArray() public method

public toArray ( object a ) : object[]
a object
return object[]

toArray() public method

public toArray ( object a, int start, int len ) : object[]
a object
start int
len int
return object[]

toCode() public method

public toCode ( ) : string
return string

toImmutable() public method

public toImmutable ( ) : object
return object

toStr() public method

public toStr ( ) : string
return string

toStrings() public method

public toStrings ( ) : string[]
return string[]

trim() public method

public trim ( ) : List
return List

union() public method

public union ( List that ) : List
that List
return List

unique() public method

public unique ( ) : List
return List