clearInto

abstract fun clearInto(destination: MutableCollection<E>): Int

Clear all stored objects and add them into destination. The order of addition is not permitted.

Return

The count of cleared objects

Parameters

destination

The collection to receive objects.