Method | Description | |
---|---|---|
Clear ( ) : void |
Clear the buffer.
|
|
ContainsKey ( key ) : bool |
Determines whether the KeyedCircularBuffer contains the specified key.
|
|
Dequeue ( ) : V>.KeyValuePair |
Remove the oldest item from the back end of the buffer and return it.
|
|
Enqueue ( key, value ) : void |
Enqueue a new item. This overwrites the oldest item in the buffer if the buffer has reached capacity.
|
|
Enqueue ( KeyValuePair item ) : void |
Enqueue a new item. This overwrites the oldest item in the buffer if the buffer has reached capacity.
|
|
KeyedCircularBuffer ( int capacity ) : System.Collections.Generic |
Constructs a circular buffer with the specified capacity.
|
|
Pop ( ) : V>.KeyValuePair |
Pop the most recently added item from the front end of the buffer and return it.
|
|
TryGetValue ( key, &value ) : bool |
Gets the value associated with the specified key.
|
|
this ( key ) : V |
Gets the value associated with the specified key. If the specified key is not found, a get operation throws a KeyNotFoundException.
|
public KeyedCircularBuffer ( int capacity ) : System.Collections.Generic | ||
capacity | int | |
return | System.Collections.Generic |