C# Class Brunet.Collections.Cache

Inheritance: IEnumerable
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_current_size int
_head Entry
_ht System.Collections.Hashtable
_max_size int
_tail Entry

Méthodes publiques

Méthode Description
Add ( object key, object val ) : void
Cache ( int max_size ) : System
Clear ( ) : void
Contains ( object key ) : bool
Get ( object key ) : object
GetEnumerator ( ) : IEnumerator
Remove ( object key ) : object
this ( object key ) : object

Méthodes protégées

Méthode Description
Pop ( ) : Entry
PushBack ( Entry e ) : void
RemoveFromList ( Entry e ) : void

Method Details

Add() public méthode

public Add ( object key, object val ) : void
key object
val object
Résultat void

Cache() public méthode

public Cache ( int max_size ) : System
max_size int
Résultat System

Clear() public méthode

public Clear ( ) : void
Résultat void

Contains() public méthode

public Contains ( object key ) : bool
key object
Résultat bool

Get() public méthode

public Get ( object key ) : object
key object
Résultat object

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

Pop() protected méthode

protected Pop ( ) : Entry
Résultat Entry

PushBack() protected méthode

protected PushBack ( Entry e ) : void
e Entry
Résultat void

Remove() public méthode

public Remove ( object key ) : object
key object
Résultat object

RemoveFromList() protected méthode

protected RemoveFromList ( Entry e ) : void
e Entry
Résultat void

this() public méthode

public this ( object key ) : object
key object
Résultat object

Property Details

_current_size protected_oe property

protected int _current_size
Résultat int

_head protected_oe property

protected Entry _head
Résultat Entry

_ht protected_oe property

protected Hashtable,System.Collections _ht
Résultat System.Collections.Hashtable

_max_size protected_oe property

protected int _max_size
Résultat int

_tail protected_oe property

protected Entry _tail
Résultat Entry