Drop deprecated toGenerator and toLinkedList.

This commit is contained in:
Ilya Gorbunov
2015-11-22 09:31:12 +03:00
parent c485eda1c2
commit 77f69abca4
6 changed files with 0 additions and 121 deletions
@@ -1008,14 +1008,6 @@ public fun <T> Iterable<T>.toHashSet(): HashSet<T> {
return toCollection(HashSet<T>(mapCapacity(collectionSizeOrDefault(12))))
}
/**
* Returns a [LinkedList] containing all elements.
*/
@Deprecated("Use toCollection(LinkedList()) instead.", ReplaceWith("toCollection(LinkedList())"))
public fun <T> Iterable<T>.toLinkedList(): LinkedList<T> {
return toCollection(LinkedList())
}
/**
* Returns a [List] containing all elements.
*/