A mutable multidict whose keys are sorted
Attributes
- K
the type of keys
- V
the type of values
- Companion:
- object
- Graph
- Supertypes
- trait Shrinkable[(K, V)]trait Growable[(K, V)]trait Clearabletrait Equalstrait Iterable[(K, V)]trait Iterable[(K, V)]trait IterableFactoryDefaults[(K, V), Iterable]trait IterableOnce[(K, V)]class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Alias for removeKey
Alias for removeKey
Attributes
Attributes
- Definition Classes
Attributes
- Definition Classes
- Growable -> IterableOnce
Removes all the entries associated with the given key
Removes all the entries associated with the given key
Attributes
- Returns:
the collection itself
Attributes
- Returns:
All the elements contained in this multidict, grouped by key
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- Growable
Attributes
- Inherited from:
- Growable
Attributes
- Inherited from:
- Shrinkable
Attributes
- Inherited from:
- Shrinkable
Attributes
- Inherited from:
- Growable
Attributes
- Definition Classes
- MultiDictOps -> IterableOnceOps
- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- L
new type of keys
- W
new type of values
- pf
transformation to apply
- Returns:
a sorted multidict that contains all the entries of
this
sorted multidict after they have been successfully transformed by the given partial functionpf
- Inherited from:
- SortedMultiDictOps
Attributes
- L
new type of keys
- W
new type of values
- pf
transformation to apply
- Returns:
a multidict that contains all the entries of
this
multidict after they have been successfully transformed by the given partial functionpf
- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- L
the new type of keys
- W
the new type of values
- pf
the partial function to apply to each set of values
- Returns:
a sorted multidict that contains all the entries of
this
sorted multidict, after they have been successfully transformed by the given partial function- Inherited from:
- SortedMultiDictOps
Attributes
- L
the new type of keys
- W
the new type of values
- pf
the partial function to apply to each set of values
- Returns:
a multidict that contains all the entries of
this
multidict, after they have been successfully transformed by the given partial function- Inherited from:
- MultiDictOps
Concatenate the entries given in that
iterable to this
multidict
Concatenate the entries given in that
iterable to this
multidict
Attributes
- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOps
Attributes
- that
the collection of values to add to this multidict
- Returns:
a new multidict concatenating the values of this multidict and
that
collection of values- Inherited from:
- MultiDictOps
Attributes
- kv
the binding to test
- Returns:
Whether the binding
kv
is contained in this multidict or not- Inherited from:
- MultiDictOps
Attributes
- key
the key to test
- Returns:
Whether
key
has at least one occurrence in this multidict or not- Inherited from:
- MultiDictOps
Attributes
- value
the value to test
- Returns:
Whether at least one key is associated to the given
value
- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Returns:
Whether there exists a value associated with the given
key
that satisfies the given predicatep
- Inherited from:
- MultiDictOps
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation.
Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that
objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int.
(o1.hashCode.equals(o2.hashCode)
).
Attributes
- that
the object to compare against this object for equality.
- Returns:
true
if the receiver object is equivalent to the argument;false
otherwise.- Definition Classes
- Inherited from:
- MultiDict
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Returns:
a multidict that contains all the entries of this multidict that satisfy the predicate
p
- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- SortedMultiDictOps
Attributes
- L
new type of keys
- W
new type of values
- f
transformation function
- Returns:
a sorted multidict that contains all the entries of
this
sorted multidict, transformed by the functionf
and concatenated- Inherited from:
- SortedMultiDictOps
Attributes
- L
new type of keys
- W
new type of values
- f
transformation function
- Returns:
a multidict that contains all the entries of
this
multidict, transformed by the functionf
and concatenated- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOps
Attributes
- L
the new type of keys
- W
the type of values of the returned sorted multidict
- f
the function to apply
- Returns:
a new sorted multidict resulting from applying the given function
f
to each group of values of this sorted multidict and concatenating the results- Inherited from:
- SortedMultiDictOps
Attributes
- L
the new type of keys
- W
the type of values of the returned multidict
- f
the function to apply
- Returns:
a new multidict resulting from applying the given function
f
to each group of values of this multidict and concatenating the results- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- key
key to look up
- Returns:
The set of values associated with the given
key
, or the empty set if there is no such association- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Calculate a hash code value for the object.
Calculate a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet
not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
.
However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have
identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure
to verify that the behavior is consistent with the equals
method.
Attributes
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Definition Classes
- IterableOps -> IterableOnceOps
- Inherited from:
- IterableOps
Attributes
- Definition Classes
- Iterable -> Iterable -> IterableOps
- Inherited from:
- Iterable
Attributes
- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- SortedMultiDictOps
Attributes
- Returns:
the set of keys
- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- SortedMultiDictOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- Iterable
Attributes
- L
new type of keys
- W
new type of values
- f
transformation function
- Returns:
a sorted multidict that contains all the entries of
this
sorted multidict, transformed by the functionf
- Inherited from:
- SortedMultiDictOps
Attributes
- L
new type of keys
- W
new type of values
- f
transformation function
- Returns:
a multidict that contains all the entries of
this
multidict, transformed by the functionf
- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOps
Builds a new sorted multidict by applying a function to all groups of elements
Builds a new sorted multidict by applying a function to all groups of elements
Attributes
- L
the type of keys of the returned collection
- f
the function to apply
- Returns:
a new collection resulting from applying the given function
f
to each pair of element and its number of occurrences of this sorted multiset and collecting the results.- Inherited from:
- SortedMultiDictOps
Attributes
- L
the new type of keys
- W
the type of values of the returned multidict
- f
the function to apply
- Returns:
a new multidict resulting from applying the given function
f
to each group of values of this multidict and collecting the results- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- MultiDict
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- SortedOps
Attributes
- Inherited from:
- SortedOps
Attributes
- Inherited from:
- SortedMultiDictOps
Attributes
- Inherited from:
- SortedOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
- IterableOps -> IterableOnceOps
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnce
Attributes
- Inherited from:
- Shrinkable
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
- IterableOps -> IterableOnceOps
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
- Iterable -> Any
- Inherited from:
- Iterable
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOps
this
sorted multidict upcasted to an unsorted multidict
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Returns:
all the values contained in this multidict
- Inherited from:
- MultiDictOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Deprecated and Inherited methods
Attributes
- Deprecated
[Since version 2.13.0]
Use ++ instead of ++: for collections of type Iterable- Inherited from:
- IterableOps
Attributes
- Deprecated
[Since version 2.13.0]
Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated- Inherited from:
- Growable
Attributes
- Deprecated
[Since version 2.13.3]
Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated- Inherited from:
- Shrinkable
Attributes
- Deprecated
[Since version 2.13.0]
Use foldLeft instead of /:- Inherited from:
- IterableOnceOps
Attributes
- Deprecated
[Since version 2.13.0]
Use foldRight instead of :\\- Inherited from:
- IterableOnceOps
Attributes
- Deprecated
[Since version 2.13.0]
`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.- Inherited from:
- IterableOnceOps
Attributes
- Deprecated
[Since version 2.13.0]
Use iterableFactory instead- Inherited from:
- IterableOps
Attributes
- Deprecated
[Since version 2.13.0]
Use ordering.compare instead- Inherited from:
- SortedOps
Attributes
- Deprecated
[Since version 2.13.0]
Use `dest ++= coll` instead- Inherited from:
- IterableOnceOps
Attributes
- Deprecated
[Since version 2.13.0]
Use rangeFrom- Inherited from:
- SortedOps
Attributes
- Deprecated
[Since version 2.13.0]
Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)- Inherited from:
- IterableOnceOps
Attributes
- Deprecated
[Since version 2.13.0]
Use coll instead of repr in a collection implementation, use the collection value itself from the outside- Inherited from:
- IterableOps
Attributes
- Deprecated
[Since version 2.13.0]
Iterable.seq always returns the iterable itself- Inherited from:
- Iterable
Attributes
- Deprecated
[Since version 2.13.0]
Use rangeTo- Inherited from:
- SortedOps
Attributes
- Deprecated
[Since version 2.13.7]
toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections- Inherited from:
- Iterable
Attributes
- Deprecated
[Since version 2.13.0]
Use .iterator instead of .toIterator- Inherited from:
- IterableOnceOps
Attributes
- Deprecated
[Since version 2.13.0]
Use .to(LazyList) instead of .toStream- Inherited from:
- IterableOnceOps
Attributes
- Deprecated
[Since version 2.13.0]
toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections- Inherited from:
- IterableOps
Attributes
- Deprecated
[Since version 2.13.0]
Use rangeUntil- Inherited from:
- SortedOps
Attributes
- Deprecated
[Since version 2.13.0]
Use .view.slice(from, until) instead of .view(from, until)- Inherited from:
- IterableOps