Summary
Transparent activatable IDictionary implementation.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Collections - Interfaces
-
- IDictionary
<K, V> - IActivatable
- IDictionary
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IDictionary<K, V>"]
Type-.->Interface1["IActivatable"]
click Interface1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.TA/IActivatable"
Type["ArrayDictionary4<K, V>"]
class Type type-node
Syntax
[Obsolete("Use Db4objects.Db4o.Collections.ActivatableDictionary instead")]
public class ArrayDictionary4<K, V> : IDictionary<K, V>, IActivatable
Remarks
Transparent activatable IDictionary implementation. Implements IDictionary interface
using two arrays to store keys and values.
When instantiated as a result of a query, all the internal members are NOT activated at all. When internal members are required to perform an operation, the instance transparently activates all the members.
When instantiated as a result of a query, all the internal members are NOT activated at all. When internal members are required to perform an operation, the instance transparently activates all the members.
Attributes
Type | Description |
---|---|
ObsoleteAttribute |
Type Parameters
Name | Description |
---|---|
K | |
V |
Constructors
Name | Summary |
---|---|
ArrayDictionary4 |
Initializes a new collection with the initial capacity = 16. |
ArrayDictionary4 |
Initializes a collection of the specified initial capacity. |
Properties
Methods
Name | Value | Summary |
---|---|---|
Activate |
void |
activate basic implementation.
|
Add |
void | |
Bind |
void |
bind basic implementation.
|
Clear |
void |
System.Collections.Generic.IDictionary implementation but transparently activates
the members as required.
|
ContainsKey |
bool | |
GetEnumerator |
IEnumerator |
|
GetHashCode |
int |
Returns the hash code of the collection.
|
Remove |
bool | |
TryGetValue |
bool |
See Also
- System.Collections.Generic.IDictionary
- Db4objects.Db4o.TA.IActivatable