NonEmptyMapOps
Attributes
- Source
- NonEmptyMapImpl.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Alias for concat
Removes a key from this map, returning a new SortedMap.
Typesafe equality operator.
Typesafe equality operator.
This method is similar to == except that it only allows two NonEmptySet[A] values to be compared to each other, and uses equality provided by Eq[_] instances, rather than using the universal equality provided by .equals.
Attributes
- Source
- NonEmptyMapImpl.scala
Adds a key-value pair to this map, returning a new NonEmptyMap
.
Adds a key-value pair to this map, returning a new NonEmptyMap
.
Attributes
- Source
- NonEmptyMapImpl.scala
Alias for lookup
Appends this NEM to another NEM, producing a new NonEmptyMap
.
Appends this NEM to another NEM, producing a new NonEmptyMap
.
Attributes
- Source
- NonEmptyMapImpl.scala
Checks whether this map contains a binding for the given key.
Checks whether this map contains a binding for the given key.
Attributes
- Source
- NonEmptyMapImpl.scala
Tests whether a predicate holds for at least one element of this map.
Tests whether a predicate holds for at least one element of this map.
Attributes
- Source
- NonEmptyMapImpl.scala
Filters all elements of this map that do not satisfy the given predicate.
Filters all elements of this map that do not satisfy the given predicate.
Attributes
- Source
- NonEmptyMapImpl.scala
Filters all elements of this map that satisfy the given predicate.
Filters all elements of this map that satisfy the given predicate.
Attributes
- Source
- NonEmptyMapImpl.scala
Returns the first value along with its key, that matches the given predicate.
Returns the first value along with its key, that matches the given predicate.
Attributes
- Source
- NonEmptyMapImpl.scala
Left-associative fold using f.
Right-associative fold using f.
Tests whether a predicate holds for all elements of this map.
Tests whether a predicate holds for all elements of this map.
Attributes
- Source
- NonEmptyMapImpl.scala
Returns the first key-value pair of this map.
Returns a SortedSet
containing all the keys of this map.
Returns the last key-value pair of this map.
Returns the amount of key-value pars in this map.
Optionally returns the value associated with the given key.
Applies f to all the elements
Applies f to both keys and elements simultaneously.
Applies f to all the keys leaving elements unchanged.
Given a function which returns a G effect, thread this effect through the running of this function on all the values in this map, returning an NonEmptyMap[K, B] in a G context.
Given a function which returns a G effect, thread this effect through the running of this function on all the values in this map, returning an NonEmptyMap[K, B] in a G context.
Attributes
- Source
- NonEmptyMapImpl.scala
Reduce using the Semigroup of A
Left-associative reduce using f.
Apply f
to the "initial element" of fa
and combine it with every other value using the given function g
.
Apply f
to the "initial element" of fa
and combine it with every other value using the given function g
.
Attributes
- Source
- NonEmptyMapImpl.scala
Right-associative reduce using f.
Apply f
to the "initial element" of this map and lazily combine it with every other value using the given function g
.
Apply f
to the "initial element" of this map and lazily combine it with every other value using the given function g
.
Attributes
- Source
- NonEmptyMapImpl.scala
Typesafe stringification method.
Typesafe stringification method.
This method is similar to .toString except that it stringifies values according to Show[_] instances, rather than using the universal .toString method.
Attributes
- Source
- NonEmptyMapImpl.scala
Returns all the key-value pairs, except for the first.
Returns a non empty list of map contents, similarly to Map#toList
Returns a non empty list of map contents, similarly to Map#toList
Attributes
- Source
- NonEmptyMapImpl.scala
Converts this map to a SortedMap
.
Transforms the elements only by applying f to both elements and associated keys.
Transforms the elements only by applying f to both elements and associated keys.
Attributes
- Source
- NonEmptyMapImpl.scala
Applies f to the value stored at k.
Applies f to the value stored at k. If lookup misses, does nothing.
Attributes
- Source
- NonEmptyMapImpl.scala
Concrete fields
Attributes
- Source
- NonEmptyMapImpl.scala