|
db4o 7.4 | ||||||||
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)
Deprecated. Use of old internal collections is discouraged. Please use com.db4o.collections.ArrayList4 and com.db4o.collections.ArrayMap4 instead. |
Db4oMap |
newIdentityHashMap(int initialSize)
Deprecated. Use of old internal collections is discouraged. Please use com.db4o.collections.ArrayList4 and com.db4o.collections.ArrayMap4 instead. |
Db4oList |
newLinkedList()
Deprecated. Use of old internal collections is discouraged. Please use com.db4o.collections.ArrayList4 and com.db4o.collections.ArrayMap4 instead. |
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 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |