Class SciListFactory
Defines factory which allows to create a high-performance array-backed lists.
Inherited Members
Namespace:
Assembly: .dll
Syntax
public final class SciListFactory
Constructors
SciListFactory()
Declaration
public SciListFactory()
Methods
<T>create(Class<T> type, int size)
Creates a smart list instance.
Declaration
public static ISciList<T> <T>create(Class<T> type, int size)
Parameters
| Type | Name | Description |
|---|---|---|
| Class<T> | type | The type of items to be placed in list. |
| int | size | The init size of list. |
Returns
| Type | Description |
|---|---|
| ISciList<T> | A list instance. |
<T>createSmart(Class<T> type, int size)
Creates a smart list instance.
Declaration
public static ISmartList<T> <T>createSmart(Class<T> type, int size)
Parameters
| Type | Name | Description |
|---|---|---|
| Class<T> | type | The type of items to be placed in list. |
| int | size | The init size of list. |
Returns
| Type | Description |
|---|---|
| ISmartList<T> | A list instance. |