C# Class Brunet.Collections.WeakHashtable

Datei anzeigen Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Property Type Description
_MIN_EXP int
_count int
_expon int
_mask int
_size int
_table object[]

Public Methods

Method Description
Add ( object key, object val ) : void
Clear ( ) : void
Contains ( object key ) : bool
Remove ( object key ) : void
WeakHashtable ( ) : System
this ( object key ) : object

Protected Methods

Method Description
Add ( object key, object val, bool replace, bool rebalance ) : void
GetElement ( object key ) : Element
Init ( int exp ) : void
Rebalance ( ) : void

Private Methods

Method Description
Test ( ) : void

Method Details

Add() public method

public Add ( object key, object val ) : void
key object
val object
return void

Add() protected method

protected Add ( object key, object val, bool replace, bool rebalance ) : void
key object
val object
replace bool
rebalance bool
return void

Clear() public method

public Clear ( ) : void
return void

Contains() public method

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

GetElement() protected method

protected GetElement ( object key ) : Element
key object
return Element

Init() protected method

protected Init ( int exp ) : void
exp int
return void

Rebalance() protected method

protected Rebalance ( ) : void
return void

Remove() public method

public Remove ( object key ) : void
key object
return void

WeakHashtable() public method

public WeakHashtable ( ) : System
return System

this() public method

public this ( object key ) : object
key object
return object

Property Details

_MIN_EXP protected_oe static_oe property

protected static int _MIN_EXP
return int

_count protected_oe property

protected int _count
return int

_expon protected_oe property

protected int _expon
return int

_mask protected_oe property

protected int _mask
return int

_size protected_oe property

protected int _size
return int

_table protected_oe property

protected object[] _table
return object[]