toList |
Extract a List from an Iterator. fun <T> Iterator<T>.toList(): List<T> |
toSafeList |
Extract safely a List from an Iterator - if an [Iterator.next()) call throws an error, ignore this call. fun <T> Iterator<T>.toSafeList(): List<T> |