|
db4o 6.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Db4oCollections
factory and other methods for database-aware collections.
Method Summary | |
---|---|
Db4oMap |
newHashMap(int initialSize)
creates a new database-aware HashMap. |
Db4oMap |
newIdentityHashMap(int initialSize)
creates a new database-aware IdentityHashMap. |
Db4oList |
newLinkedList()
creates a new database-aware linked list. |
Method Detail |
---|
Db4oList newLinkedList()
java.util.List
variable in your persistent class.
class MyClass{
List myList;
}
MyClass myObject = new MyClass();
myObject.myList = objectContainer.ext().collections().newLinkedList();
Db4oList
Db4oList
Db4oMap newHashMap(int initialSize)
java.util.Map
variable in your persistent class.
class MyClass{
Map myMap;
}
MyClass myObject = new MyClass();
myObject.myMap = objectContainer.ext().collections().newHashMap(0);
initialSize
- the initial size of the HashMap
Db4oMap
Db4oMap
Db4oMap newIdentityHashMap(int initialSize)
java.util.Map
variable in your persistent class.
class MyClass{
Map myMap;
}
MyClass myObject = new MyClass();
myObject.myMap = objectContainer.ext().collections().newIdentityMap(0);
initialSize
- the initial size of the HashMap
Db4oMap
Db4oMap
|
db4o 6.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |