Megadocs 0.0.1
All of megapop's internal libraries
|
Static Public Member Functions | |
static List< T > | Create< T > (int count, T value=default) |
Create a new list with More... | |
static void | MinCapacity< T > ([CanBeNull] ref List< T > list, int capacity) |
Sets the capacity of the list. Creates a object if More... | |
static void | AddCapacity< T > ([CanBeNull] ref List< T > list, int extraEntries) |
Reserve enough room for More... | |
|
inlinestatic |
Reserve enough room for
extraEntries
new entries. Creates a object if
list
is null.
|
inlinestatic |
Create a new list with
count
entries set to
value
.
|
inlinestatic |
Sets the capacity of the list. Creates a object if
list
is null. Does not reduce the capacity if
capacity
is lower than the list capacity.