Scala Library Documentation
|
|
trait
IterableWrapper[A]
extends
MutableIterable[A]Method Summary | |
override def
|
clear
: Unit
clear all elements from the collection.
|
override def
|
elements
: MutableIterator[A]
Creates a new iterator over all elements contained in this
object.
|
override def
|
isEmpty
: Boolean
Is this collection empty?
|
override def
|
remove (a : A) : Boolean |
override def
|
removeAll (that : Iterable[A]) : Boolean |
override def
|
retainAll
(that : Iterable[A]) : Boolean
retain only elements that are also in that.
|
protected abstract def
|
underlying : Collection |
Methods inherited from MutableIterable | |
has, --, -, retain, size0, projection |
Methods inherited from Collection | |
size (abstract), toArray, toString, stringPrefix |
Methods inherited from Iterable | |
concat, ++, map, flatMap, filter, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, mkString, mkString, addString, addString, copyToArray, hasDefiniteSize |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Class Summary | |
class
|
IteratorWrapper
(underlying : Iterator) extends MutableIterator[A]
|
Method Details |
protected abstract
def
underlying : Collection
override
def
isEmpty : Boolean
override
def
clear : Unit
override
def
elements : MutableIterator[A]
Scala Library Documentation
|
|