| Package | Description |
|---|---|
| com.m3.scalaflavor4j |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> SMap<K,V> |
SMap.apply()
Retrieves the value which is associated with the given key.
|
static <K,V> SMap<K,V> |
SMap.apply(Map<K,V> map) |
static <K,V> SMap<K,V> |
SMap.apply(Seq<Tuple2<K,V>> tuples) |
SMap<K,V> |
SMap.copy()
[Original] Copy Map instance (elements are not copied)
|
SMap<K,V> |
SMap.filter(Function1<Tuple2<K,V>,Boolean> f)
Selects all elements of this immutable map which satisfy a predicate.
|
abstract <U> SMap<U,Seq<T>> |
Seq.groupBy(Function1<T,U> f)
Partitions this sequence into a map of sequences according to some
discriminator function.
|
abstract <U> SMap<U,Seq<T>> |
ParSeq.groupBy(Function1<T,U> f)
Partitions this sequence into a map of sequences according to some
discriminator function.
|
<U> SMap<U,Seq<T>> |
Nil.groupBy(Function1<T,U> f) |
<U> SMap<U,Seq<T>> |
IndexedSeq.groupBy(Function1<T,U> getGroupName) |
<U> SMap<U,Seq<T>> |
ForkJoinParSeq.groupBy(Function1<T,U> getGroupName) |
<L,M> SMap<L,M> |
SMap.map(Function1<Tuple2<K,V>,Tuple2<L,M>> f)
Builds a new collection by applying a function to all elements of this
immutable map.
|
SMap<K,V> |
SMap.minus(K... keys)
Creates a new immutable map from this immutable map with some elements
removed.
|
SMap<K,V> |
SMap.plus(Tuple2<K,V>... elems)
Adds two or more elements to this collection and returns a new
collection.
|
SMap<K,V> |
SMap.updated(K key,
V value)
A new immutable map containing updating this map with a given key/value
mapping.
|
Copyright © 2015. All rights reserved.