Class Vector
Utility class for creating vectors (collections) of elements.
Inherited Members
Namespace: Akka.Util
Assembly: Akka.dll
Syntax
public static class Vector
Methods
| Edit this page View SourceFill<T>(int)
Creates a function that fills a collection with a specified number of elements generated by the provided factory function.
Declaration
public static Func<Func<T>, IList<T>> Fill<T>(int number)
Parameters
Type | Name | Description |
---|---|---|
int | number | The number of elements to create. |
Returns
Type | Description |
---|---|
Func<Func<T>, IList<T>> | A function that takes an element factory and returns a list of generated elements. |
Type Parameters
Name | Description |
---|---|
T | The type of elements to create. |