License:
see license.txt
- interface
Addable
(V);
- Define an interface for collections that are able to add values.
- Addable!(V)
add
(V v);
- returns this.
- Addable!(V)
add
(V v, ref bool wasAdded);
- returns this.
wasAdded is set to true if the value is added.
- Addable!(V)
add
(Iterator!(V) it);
-
add
all values retrieved from the collection using the iterator's
opApply. Returns this.
- Addable!(V)
add
(Iterator!(V) it, ref uint numAdded);
-
add
all values retrieved from the collection using the iterator's
opApply. numAdded is set to the number of elements added.
- Addable!(V)
add
(V[] array);
-
add
all the values from the array. Returns this.
- Addable!(V)
add
(V[] array, ref uint numAdded);
-
add
all the values from the array. Returns this.
numAdded is set to the number of elements added.
|