Scala Library
|
|
trait
IterableForwarder[+A]
extends
Iterable[A] with
TraversableForwarder[A]This trait implements a forwarder for iterable objects. It forwards all calls to a different iterable object, except for
toString
, hashCode
, equals
,
stringPrefix
newBuilder
, view
The above methods are forwarded by subclass IterableProxy
.
Method Summary | |
override def
|
iterator
: Iterator[A]
Creates a new iterator over all elements contained in this
iterable object.
|
override def
|
sameElements
[B >: A](that : Iterable[B]) : Boolean
Checks if the other iterable object contains the same elements as this one.
|
protected abstract def
|
underlying
: Iterable[A]
The iterable object to which calls are forwarded
|
Methods inherited from TraversableForwarder | |
isEmpty, nonEmpty, hasDefiniteSize, foreach, forall, exists, count, find, foldLeft, foldRight, reduceLeft, reduceRight, reduceLeftOption, reduceRightOption, copyToBuffer, copyToArray, toArray, toList, toSequence, toStream, mkString, addString, head, last, lastOption |
Methods inherited from Iterable | |
companion |
Methods inherited from IterableTemplate | |
elements, toIterable, takeRight, dropRight, view, view, first, firstOption, toSeq, projection |
Methods inherited from TraversableClass | |
newBuilder, genericBuilder, unzip, flatten, transpose |
Methods inherited from TraversableTemplate | |
thisCollection, size, ++, ++, map, flatMap, filter, filterMap, filterNot, remove, partition, groupBy, /:, :\, headOption, tail, init, take, drop, slice, takeWhile, dropWhile, span, splitAt, copyToArray, toSet, mkString, mkString, addString, addString, toString, stringPrefix |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
that -
the other iterable
Scala Library
|
|