C# Class Fan.Sys.Map

Map is a hashm_map of key value pairs.
Inheritance: FanObj, Literal
ファイルを表示 Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@typeof ( ) : Type
Equals ( object that ) : bool
GetHashCode ( ) : int
Map ( MapType type ) : System
Map ( MapType type, IDictionary map ) : System
Map ( Type k, Type v ) : System
add ( object key, object val ) : Map
addAll ( Map m ) : Map
addList ( List list ) : Map
addList ( List list, Func f ) : Map
all ( Func f ) : bool
any ( Func f ) : bool
caseInsensitive ( ) : bool
caseInsensitive ( bool v ) : void
clear ( ) : Map
containsKey ( object key ) : bool
def ( ) : object
def ( object v ) : void
dup ( ) : Map
each ( Func f ) : void
eachWhile ( Func f ) : object
encode ( ObjEncoder @out ) : void
exclude ( Func f ) : Map
find ( Func f ) : object
findAll ( Func f ) : Map
get ( object key ) : object
get ( object key, object def ) : object
getOrAdd ( object key, Func valFunc ) : object
getOrThrow ( object key ) : object
hash ( ) : long
isEmpty ( ) : bool
isImmutable ( ) : bool
isRO ( ) : bool
isRW ( ) : bool
join ( string sep ) : string
join ( string sep, Func f ) : string
keys ( ) : List
keysEnumerator ( ) : IEnumerator
make ( Type type ) : Map
map ( Func f ) : Map
ordered ( ) : bool
ordered ( bool v ) : void
pairsIterator ( ) : IDictionaryEnumerator
reduce ( object reduction, Func f ) : object
remove ( object key ) : object
ro ( ) : Map
rw ( ) : Map
set ( object key, object val ) : Map
setAll ( Map m ) : Map
setList ( List list ) : Map
setList ( List list, Func f ) : Map
size ( ) : long
toCode ( ) : string
toImmutable ( ) : object
toStr ( ) : string
vals ( ) : List

Private Methods

Method Description
cloneMap ( IDictionary dict ) : IDictionary
modify ( ) : void

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

Map() public method

public Map ( MapType type ) : System
type MapType
return System

Map() public method

public Map ( MapType type, IDictionary map ) : System
type MapType
map IDictionary
return System

Map() public method

public Map ( Type k, Type v ) : System
k Type
v Type
return System

add() public method

public add ( object key, object val ) : Map
key object
val object
return Map

addAll() public method

public addAll ( Map m ) : Map
m Map
return Map

addList() public method

public addList ( List list ) : Map
list List
return Map

addList() public method

public addList ( List list, Func f ) : Map
list List
f Func
return Map

all() public method

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

any() public method

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

caseInsensitive() public method

public caseInsensitive ( ) : bool
return bool

caseInsensitive() public method

public caseInsensitive ( bool v ) : void
v bool
return void

clear() public method

public clear ( ) : Map
return Map

containsKey() public method

public containsKey ( object key ) : bool
key object
return bool

def() public method

public def ( ) : object
return object

def() public method

public def ( object v ) : void
v object
return void

dup() public method

public dup ( ) : Map
return Map

each() public method

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

eachWhile() public method

public eachWhile ( 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 ) : Map
f Func
return Map

find() public method

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

findAll() public method

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

get() public method

public get ( object key ) : object
key object
return object

get() public method

public get ( object key, object def ) : object
key object
def object
return object

getOrAdd() public method

public getOrAdd ( object key, Func valFunc ) : object
key object
valFunc Func
return object

getOrThrow() public method

public getOrThrow ( object key ) : object
key object
return object

hash() public method

public hash ( ) : long
return long

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 sep ) : string
sep string
return string

join() public method

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

keys() public method

public keys ( ) : List
return List

keysEnumerator() public method

public keysEnumerator ( ) : IEnumerator
return IEnumerator

make() public static method

public static make ( Type type ) : Map
type Type
return Map

map() public method

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

ordered() public method

public ordered ( ) : bool
return bool

ordered() public method

public ordered ( bool v ) : void
v bool
return void

pairsIterator() public method

public pairsIterator ( ) : IDictionaryEnumerator
return IDictionaryEnumerator

reduce() public method

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

remove() public method

public remove ( object key ) : object
key object
return object

ro() public method

public ro ( ) : Map
return Map

rw() public method

public rw ( ) : Map
return Map

set() public method

public set ( object key, object val ) : Map
key object
val object
return Map

setAll() public method

public setAll ( Map m ) : Map
m Map
return Map

setList() public method

public setList ( List list ) : Map
list List
return Map

setList() public method

public setList ( List list, Func f ) : Map
list List
f Func
return Map

size() public method

public size ( ) : long
return long

toCode() public method

public toCode ( ) : string
return string

toImmutable() public method

public toImmutable ( ) : object
return object

toStr() public method

public toStr ( ) : string
return string

vals() public method

public vals ( ) : List
return List