HeartQueueListNum<N extends num> extension

Extension methods for QueueList of numbers

on

Methods

dec([N? decrementAmount]) QueueList<N>

Available on QueueList<N>, provided by the HeartQueueListNum extension

Decrement all values by decrementAmount.
div(N divideBy) QueueList<N>

Available on QueueList<N>, provided by the HeartQueueListNum extension

Divide all values by divideBy.
inc([N? incrementAmount]) QueueList<N>

Available on QueueList<N>, provided by the HeartQueueListNum extension

Increment all values by incrementAmount.
insertInOrder(Iterable<N> numbersToInsert) QueueList<N>

Available on QueueList<N>, provided by the HeartQueueListNum extension

Inserts each element in numbersToInsert before the first element that is >=
mult(N multiplyBy) QueueList<N>

Available on QueueList<N>, provided by the HeartQueueListNum extension

Multiply all values by multiplyBy
toDoubles() QueueList<double>

Available on QueueList<N>, provided by the HeartQueueListNum extension

Convert elements to doubles.
toInts() QueueList<int>

Available on QueueList<N>, provided by the HeartQueueListNum extension

Convert elements to truncated ints.
toRounded() QueueList<int>

Available on QueueList<N>, provided by the HeartQueueListNum extension

Convert elements to rounded integers.