creates a new database-aware HashMap.
Db4objects.Db4o.Types.IDb4oMap
creates a new database-aware HashMap.
This map will call the hashCode() method on the key objects to calculate the hash value. Since the hash value is stored to the ObjectContainer, key objects will have to return the same hashCode() value in every VM session.
Usage:
- declare a
java.util.Mapvariable in your persistent class.
class MyClass{ Map myMap; } MyClass myObject = new MyClass(); myObject.myMap = objectContainer.ext().collections().newHashMap(0);
IDb4oCollections Interface | Db4objects.Db4o.Types Namespace | Db4objects.Db4o.Types.IDb4oMap