[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
creates a new database-aware IdentityHashMap.
Namespace: Db4objects.Db4o.Types
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Function NewIdentityHashMap ( _ initialSize As Integer _ ) As IDb4oMap |
| C# |
|---|
IDb4oMap NewIdentityHashMap ( int initialSize ) |
| Visual C++ |
|---|
IDb4oMap^ NewIdentityHashMap ( int initialSize ) |
Parameters
- initialSize
- System.Int32
the initial size of the HashMap
Return Value
Db4objects.Db4o.Types.IDb4oMap
Remarks
creates a new database-aware IdentityHashMap.
Only first class objects already stored to the ObjectContainer (Objects with a db4o ID) can be used as keys for this type of Map. The internal db4o ID will be used as the hash value.
Usage:
- declare a
variable in your persistent class.
- fill the variable with this method.
Example:
Only first class objects already stored to the ObjectContainer (Objects with a db4o ID) can be used as keys for this type of Map. The internal db4o ID will be used as the hash value.
Usage:
- declare a
java.util.Map | |
- fill the variable with this method.
Example:
| |