BigListT Constructor (BigListT, Int32) |
Creates a new BigList that is several copies of list.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic BigList(
BigList<T> list,
int copies
)
public:
BigList(
BigList<T>^ list,
int copies
)
Parameters
- list
- Type: X3Platform.CollectionsBigListT
The BigList to copy. - copies
- Type: SystemInt32
Number of copies of the collection to use.
Exceptions
RemarksCreating K copies of a BigList takes time O(log K), and O(log K)
additional memory, since the storage for the items of the two lists is shared. However, changing
either list will take additional time and memory. Portions of the list are copied when they are changed.
See Also