scala.collection.jcl.SortedMap

class Filter

[source: scala/collection/jcl/SortedMap.scala]

protected class Filter(p : (K) => Boolean)
extends Filter with Projection[K, E]
Direct Known Subclasses:
SortedMap.Range.Filter

Method Summary
def compare (k0 : K, k1 : K) : Int
Comparison function that orders keys.
override def filterKeys (p0 : (K) => Boolean) : Projection[K, E]
non-strict filter based on keys only
override def rangeImpl (from : Option[K], until : Option[K]) : Projection[K, E]
Creates a ranged projection of this collection. Any mutations in the ranged projection will update this collection and vice versa. Keys are garuanteed to be consistent between the collection and its projection.
Methods inherited from Projection
projection
Methods inherited from SortedMap
firstKey, lastKey, keySet, lense, Range
Methods inherited from Sorted
to
Methods inherited from Ranged
from, until, range
Methods inherited from Sorted
hasAll
Methods inherited from Filter
elements, removeKey, contains, put, get, size
Methods inherited from Projection
map
Methods inherited from Map
clear, isEmpty, keys, valueSet, putAll, has, update, +, +=, -, remove, -=
Methods inherited from Map
+=, ++=, ++=, +, ++, ++, -=, --=, --=, -, --, --, getOrElseUpdate, transform, retain, <<, clone, +=, incl, excl
Methods inherited from Map
getOrElse, apply, isDefinedAt, values, equals, hashCode, toString, default, mapElements
Methods inherited from PartialFunction
orElse, andThen
Methods inherited from Function1
compose
Methods inherited from Projection
filter
Methods inherited from Projection
flatMap
Methods inherited from MutableIterable
removeAll, --, -, retain, retainAll, size0
Methods inherited from Collection
toArray, 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, hasDefiniteSize
Methods inherited from AnyRef
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def compare(k0 : K, k1 : K) : Int
Comparison function that orders keys.

override def filterKeys(p0 : (K) => Boolean) : Projection[K, E]
non-strict filter based on keys only
Overrides
Filter.filterKeys

override def rangeImpl(from : Option[K], until : Option[K]) : Projection[K, E]
Creates a ranged projection of this collection. Any mutations in the ranged projection will update this collection and vice versa. Keys are garuanteed to be consistent between the collection and its projection.
Parameters
from - The lower-bound (inclusive) of the ranged projection. None if there is no lower bound.
until - The upper-bound (exclusive) of the ranged projection. None if there is no upper bound.