addItem

abstract fun addItem(item: T): Boolean

Adds an item to the algorithm

Return

true if the algorithm contents changed as a result of the call

Parameters

item

the item to be added