isTraversableAgain
trait Collection[A] {
def isTraversableAgain: Boolean
}
isTraversableAgain
checks whether this collection can be traversed once and again and returns
true
if so.
If the collection cannot be traversed multiple times then this function returns false
.