class SortedMapWithFilter extends MapWithFilter
Specializes MapWithFilter for sorted Map collections
- Alphabetic
- By Inheritance
- SortedMapWithFilter
- MapWithFilter
- WithFilter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SortedMapWithFilter(p: ((K, V)) ⇒ Boolean)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
filtered: Filter[(K, V)]
- Attributes
- protected[this]
- Definition Classes
- WithFilter
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def flatMap[K2, V2](f: ((K, V)) ⇒ IterableOnce[(K2, V2)])(implicit arg0: Ordering[K2]): CC[K2, V2]
-
def
flatMap[K2, V2](f: ((K, V)) ⇒ IterableOnce[(K2, V2)]): Map[K2, V2]
- Definition Classes
- MapWithFilter
-
def
flatMap[B](f: ((K, V)) ⇒ IterableOnce[B]): Iterable[B]
Builds a new collection by applying a function to all elements of the
filteredouter $coll containing thisWithFilterinstance that satisfyBuilds a new collection by applying a function to all elements of the
filteredouter $coll containing thisWithFilterinstance that satisfy- B
the element type of the returned collection.
- f
the function to apply to each element.
- returns
a new $coll resulting from applying the given collection-valued function
fto each element of the filtered outer $coll and concatenating the results.
- Definition Classes
- WithFilter
-
def
foreach[U](f: ((K, V)) ⇒ U): Unit
Applies a function
fto all elements of thefilteredouter $coll.Applies a function
fto all elements of thefilteredouter $coll.- U
the type parameter describing the result of function
f. This result will always be ignored. TypicallyUisUnit, but this is not necessary.- f
the function that is applied for its side-effect to every element. The result of function
fis discarded.
- Definition Classes
- WithFilter
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[K2, V2](f: ((K, V)) ⇒ (K2, V2))(implicit arg0: Ordering[K2]): CC[K2, V2]
-
def
map[K2, V2](f: ((K, V)) ⇒ (K2, V2)): Map[K2, V2]
- Definition Classes
- MapWithFilter
-
def
map[B](f: ((K, V)) ⇒ B): Iterable[B]
Builds a new collection by applying a function to all elements of the
filteredouter $coll.Builds a new collection by applying a function to all elements of the
filteredouter $coll.- B
the element type of the returned collection.
- f
the function to apply to each element.
- returns
a new $coll resulting from applying the given function
fto each element of the filtered outer $coll and collecting the results.
- Definition Classes
- WithFilter
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withFilter(q: ((K, V)) ⇒ Boolean): SortedMapWithFilter
Further refines the filter for this
filtered$coll.Further refines the filter for this
filtered$coll.- q
the predicate used to test elements.
- returns
an object of class
WithFilter, which supportsmap,flatMap,foreach, andwithFilteroperations. All these operations apply to those elements of this $coll which also satisfy bothpandqpredicates.
- Definition Classes
- SortedMapWithFilter → MapWithFilter → WithFilter