Summary
Fast linked list for all usecases.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Foundation - Interfaces
-
- ISequence4
- IEnumerable
- IDeepClone
- IUnversioned
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["ISequence4"]
click Interface0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Foundation/ISequence4"
Type-.->Interface1["IEnumerable"]
Type-.->Interface2["IDeepClone"]
click Interface2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Foundation/IDeepClone"
Type-.->Interface3["IUnversioned"]
click Interface3 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Types/IUnversioned"
Type["Collection4"]
class Type type-node
Syntax
public class Collection4 : ISequence4, IEnumerable, IDeepClone, IUnversioned
Remarks
Fast linked list for all usecases.
Constructors
Methods
Name | Value | Summary |
---|---|---|
Add |
bool |
Adds an element to the end of this collection.
|
AddAll |
void | |
AddAll |
void | |
AddAll |
void | |
Clear |
void | |
Contains |
bool | |
ContainsAll |
bool | |
ContainsAll |
bool | |
ContainsByIdentity |
bool |
tests if the object is in the Collection.
|
DeepClone |
Object | |
Ensure |
Object |
makes sure the passed object is in the Collection.
|
Get |
Object | |
Get |
Object |
returns the first object found in the Collections that equals() the
passed object
|
GetEnumerator |
IEnumerator |
Iterates through the collection in reversed insertion order which happens
to be the fastest.
|
IndexOf |
int | |
IsEmpty |
bool | |
Prepend |
void | |
Remove |
bool |
removes an object from the Collection equals() comparison returns the
removed object or null, if none found
|
RemoveAll |
void |
Removes all the elements from this collection that are returned by
iterable.
|
RemoveAll |
void |
Removes all the elements from this collection that are returned by
iterator.
|
Replace |
void | |
ReplaceByIdentity |
void | |
SingleElement |
Object | |
Size |
int | |
ToArray |
Object[] | |
ToArray |
Object[] |
This is a non reflection implementation for more speed.
|
ToString |
string |