scala.collection.jcl.MutableIterable
trait Filter

[source: `scala/collection/jcl/MutableIterable.scala`]

`` `trait` Filter
  `extends` Projection[A]

Direct Known Subclasses:
  Set.Filter

Method Summary
`def` | elements : MutableIterator[A] The default implementation of a map over mutable iterable collections.
`override def` | filter (p0 : (A) => Boolean) : Projection[A] non-strict
`override def` | has (a : A) : Boolean
`protected abstract def` | p (a : A) : Boolean
`override def` | remove (a : A) : Boolean
`def` | size : Int Returns the number of elements in this collection.

Methods inherited from Projection
projection, map

Methods inherited from Projection
flatMap

Methods inherited from MutableIterable
removeAll, --, -, retain, retainAll, size0, clear

Methods inherited from Collection
toArray, toString, stringPrefix, equalWith

Methods inherited from Iterable
concat, ++, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, mkString, mkString, addString, addString, copyToArray, isEmpty, hasDefiniteSize

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

`protected abstract` `def` p(a : A) : Boolean

`override` `def` has(a : A) : Boolean

Returns
  true if t is in the collection.

`override` `def` remove(a : A) : Boolean

Returns
  true if t was removed from this collection.

`override` `def` filter(p0 : (A) => Boolean) : Projection[A]

  non-strict

Overrides
  Projection.filter

`` `def` elements : MutableIterator[A]

  The default implementation of a map over mutable iterable collections.

`` `def` size : Int

  Returns the number of elements in this collection.

Returns
  number of collection elements.