class SortedLinkedHashMap[A, B] extends LinkedHashMap[A, B] with Serializable
The SortedLinkedHashMap
class extends the scala LinkedHashMap
class.
It maintains the keys (type A) in order, so when you iterate the entry set,
the entries are in key order. This is useful for merge algorithms, such
as those used for sparse matrices.
- Alphabetic
- By Inheritance
- SortedLinkedHashMap
- LinkedHashMap
- Serializable
- Serializable
- HashTable
- HashUtils
- AbstractMap
- Map
- MapLike
- Cloneable
- Cloneable
- Cloneable
- Shrinkable
- Builder
- Growable
- Clearable
- Iterable
- Traversable
- Mutable
- AbstractMap
- Map
- MapLike
- Subtractable
- PartialFunction
- Function1
- GenMap
- GenMapLike
- AbstractIterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- AbstractTraversable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SortedLinkedHashMap(pairs: (A, B)*)(implicit ordering: Ordering[A])
Construct a
SortedLinkedHashMap
and put all (key, value) pairs into this map.Construct a
SortedLinkedHashMap
and put all (key, value) pairs into this map.- pairs
the (key, value) pairs to put in this map
-
new
SortedLinkedHashMap(pairs: List[(A, B)])(implicit ordering: Ordering[A])
Construct a
SortedLinkedHashMap
and put all (key, value) pairs into this map.Construct a
SortedLinkedHashMap
and put all (key, value) pairs into this map.- pairs
the (key, value) pairs to put in this map
- new SortedLinkedHashMap()(implicit ordering: Ordering[A])
Type Members
-
class
DefaultKeySet extends scala.collection.mutable.LinkedHashMap.DefaultKeySet
- Attributes
- protected
- Definition Classes
- LinkedHashMap
-
class
DefaultValuesIterable extends AbstractIterable[V] with Iterable[V] with Serializable
- Attributes
- protected
- Definition Classes
- MapLike
-
type
Entry = LinkedEntry[A, B]
- Definition Classes
- LinkedHashMap
-
class
FilteredKeys extends scala.collection.mutable.LinkedHashMap.FilteredKeys
- Attributes
- protected
- Definition Classes
- LinkedHashMap
-
class
MappedValues[C] extends scala.collection.mutable.LinkedHashMap.MappedValues[C]
- Attributes
- protected
- Definition Classes
- LinkedHashMap
-
type
Self = LinkedHashMap[A, B]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
class
WithFilter extends FilterMonadic[A, Repr]
- Definition Classes
- TraversableLike
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+[V1 >: B](elem1: (A, V1), elem2: (A, V1), elems: (A, V1)*): Map[A, V1]
- Definition Classes
- MapLike → MapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
+
creates a new map. Use+=
to add an element to this map and return that map itself.
-
def
+[V1 >: B](kv: (A, V1)): Map[A, V1]
- Definition Classes
- MapLike → MapLike → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
+
creates a new map. Use+=
to add an element to this map and return that map itself.
-
def
++[V1 >: B](xs: GenTraversableOnce[(A, V1)]): Map[A, V1]
- Definition Classes
- MapLike → MapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
++
creates a new map. Use++=
to add an element to this map and return that map itself.
-
def
++[B >: (A, B), That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[LinkedHashMap[A, B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: (A, B), That](that: Traversable[B])(implicit bf: CanBuildFrom[LinkedHashMap[A, B], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: (A, B), That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[LinkedHashMap[A, B], B, That]): That
- Definition Classes
- TraversableLike
-
def
++=(xs: TraversableOnce[(A, B)]): SortedLinkedHashMap.this.type
- Definition Classes
- Growable
-
def
+=(pairs: List[(A, B)]): Unit
Put all (key, value) pairs into this map.
Put all (key, value) pairs into this map.
- pairs
the (key, value) pairs to put in this map
-
def
+=(kv: (A, B)): SortedLinkedHashMap.this.type
- Definition Classes
- LinkedHashMap → MapLike → Builder → Growable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
+=(elem1: (A, B), elem2: (A, B), elems: (A, B)*): SortedLinkedHashMap.this.type
- Definition Classes
- Growable
-
def
-(elem1: A, elem2: A, elems: A*): LinkedHashMap[A, B]
- Definition Classes
- MapLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new map. Use-=
to remove an element from this map and return that map itself.
-
def
-(key: A): LinkedHashMap[A, B]
- Definition Classes
- MapLike → MapLike → Subtractable → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
-
creates a new map. Use-=
to remove an element from this map and return that map itself.
-
def
--(xs: GenTraversableOnce[A]): LinkedHashMap[A, B]
- Definition Classes
- MapLike → Subtractable
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
--
creates a new map. Use--=
to remove an element from this map and return that map itself.
-
def
--=(xs: TraversableOnce[A]): SortedLinkedHashMap.this.type
- Definition Classes
- Shrinkable
-
def
-=(key: A): SortedLinkedHashMap.this.type
- Definition Classes
- LinkedHashMap → MapLike → Shrinkable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
-=(elem1: A, elem2: A, elems: A*): SortedLinkedHashMap.this.type
- Definition Classes
- Shrinkable
-
def
/:[B](z: B)(op: (B, (A, B)) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
:\[B](z: B)(op: ((A, B), B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
_loadFactor: Int
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @transient()
-
def
addEntry(e: LinkedEntry[A, B]): Unit
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- MapLike → TraversableOnce
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, (A, B)) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
alwaysInitSizeMap: Boolean
- Attributes
- protected
- Definition Classes
- HashTable
-
def
andThen[C](k: (B) ⇒ C): PartialFunction[A, C]
- Definition Classes
- PartialFunction → Function1
-
def
apply(key: A): B
- Definition Classes
- MapLike → GenMapLike → Function1
-
def
applyOrElse[K1 <: A, V1 >: B](x: K1, default: (K1) ⇒ V1): V1
- Definition Classes
- MapLike → PartialFunction
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
calcSizeMapSize(tableLength: Int): Int
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
canEqual(that: Any): Boolean
- Definition Classes
- IterableLike → Equals
-
def
clear(): Unit
- Definition Classes
- LinkedHashMap → MapLike → Builder → Growable → Clearable
-
def
clearTable(): Unit
- Attributes
- protected
- Definition Classes
- HashTable
-
def
clone(): LinkedHashMap[A, B]
- Definition Classes
- MapLike → Cloneable → AnyRef
-
def
collect[B, That](pf: PartialFunction[(A, B), B])(implicit bf: CanBuildFrom[LinkedHashMap[A, B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[(A, B), B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
companion: GenericCompanion[Iterable]
- Definition Classes
- Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compare(k0: A, k1: A): Int
Compare the two keys (to establish the correct ordering).
Compare the two keys (to establish the correct ordering).
- k0
the first key
- k1
the second key
-
def
compose[A](g: (A) ⇒ A): (A) ⇒ B
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
contains(key: A): Boolean
- Definition Classes
- MapLike → GenMapLike
-
def
copyToArray[B >: (A, B)](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: (A, B)](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: (A, B)](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: (A, B)](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
count(p: ((A, B)) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
createNewEntry[B1](key: A, value: B1): Entry
- Attributes
- protected
- Definition Classes
- LinkedHashMap → HashTable
-
def
default(key: A): B
- Definition Classes
- MapLike → GenMapLike
-
def
drop(n: Int): LinkedHashMap[A, B]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): LinkedHashMap[A, B]
- Definition Classes
- IterableLike
-
def
dropWhile(p: ((A, B)) ⇒ Boolean): LinkedHashMap[A, B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
elemEquals(key1: A, key2: A): Boolean
- Attributes
- protected
- Definition Classes
- HashTable
-
def
elemHashCode(key: A): Int
- Attributes
- protected
- Definition Classes
- HashUtils
-
def
empty: LinkedHashMap[A, B]
- Definition Classes
- LinkedHashMap → Map → Map → MapLike
-
def
entriesIterator: Iterator[LinkedEntry[A, B]]
- Attributes
- protected
- Definition Classes
- HashTable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- GenMapLike → Equals → AnyRef → Any
-
def
exists(p: ((A, B)) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: ((A, B)) ⇒ Boolean): LinkedHashMap[A, B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterKeys(p: (A) ⇒ Boolean): Map[A, B]
- Definition Classes
- LinkedHashMap → MapLike → GenMapLike
-
def
filterNot(p: ((A, B)) ⇒ Boolean): LinkedHashMap[A, B]
- Definition Classes
- MapLike → TraversableLike → GenTraversableLike
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: ((A, B)) ⇒ Boolean): Option[(A, B)]
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
findEntry(key: A): LinkedEntry[A, B]
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
findOrAddEntry[B](key: A, value: B): LinkedEntry[A, B]
- Attributes
- protected
- Definition Classes
- HashTable
-
var
firstEntry: Entry
- Attributes
- protected
- Definition Classes
- LinkedHashMap
-
def
flatMap[B, That](f: ((A, B)) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[LinkedHashMap[A, B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: ((A, B)) ⇒ GenTraversableOnce[B]): Iterable[B]
- Definition Classes
- GenericTraversableTemplate
-
def
fold[A1 >: (A, B)](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, (A, B)) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: ((A, B), B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: ((A, B)) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: ((A, B)) ⇒ U): Unit
- Definition Classes
- LinkedHashMap → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
foreachEntry[U](f: (Entry) ⇒ U): Unit
- Attributes
- protected
- Definition Classes
- LinkedHashMap → HashTable
-
def
genericBuilder[B]: Builder[B, Iterable[B]]
- Definition Classes
- GenericTraversableTemplate
-
def
get(key: A): Option[B]
- Definition Classes
- LinkedHashMap → MapLike → GenMapLike
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFirstEntry(): Entry
Get the first entry in the
SortedLinkedHashMap
. -
def
getOrElse[V1 >: B](key: A, default: ⇒ V1): V1
- Definition Classes
- MapLike → GenMapLike
-
def
getOrElseUpdate(key: A, op: ⇒ B): B
- Definition Classes
- MapLike
-
def
groupBy[K](f: ((A, B)) ⇒ K): Map[K, LinkedHashMap[A, B]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): Iterator[LinkedHashMap[A, B]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode(): Int
- Definition Classes
- GenMapLike → AnyRef → Any
-
def
head: (A, B)
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
headOption: Option[(A, B)]
- Definition Classes
- TraversableLike → GenTraversableLike
-
final
def
improve(hcode: Int, seed: Int): Int
- Attributes
- protected
- Definition Classes
- HashUtils
-
final
def
index(hcode: Int): Int
- Attributes
- protected
- Definition Classes
- HashTable
-
def
init: LinkedHashMap[A, B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
initWithContents(c: Contents[A, LinkedEntry[A, B]]): Unit
- Attributes
- protected
- Definition Classes
- HashTable
-
def
initialSize: Int
- Attributes
- protected
- Definition Classes
- HashTable
-
def
inits: Iterator[LinkedHashMap[A, B]]
- Definition Classes
- TraversableLike
-
def
isDefinedAt(key: A): Boolean
- Definition Classes
- MapLike → GenMapLike → PartialFunction
-
def
isEmpty: Boolean
- Definition Classes
- MapLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isSizeMapDefined: Boolean
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
iterator: Iterator[(A, B)]
- Definition Classes
- LinkedHashMap → MapLike → IterableLike → GenIterableLike
-
def
keySet: Set[A]
- Definition Classes
- LinkedHashMap → MapLike → GenMapLike
-
def
keys: Iterable[A]
- Definition Classes
- MapLike → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
keys
returnsIterable[K]
rather thanIterator[K]
.
-
def
keysIterator: Iterator[A]
- Definition Classes
- LinkedHashMap → MapLike → GenMapLike
-
def
last: (A, B)
- Definition Classes
- TraversableLike → GenTraversableLike
-
var
lastEntry: Entry
- Attributes
- protected
- Definition Classes
- LinkedHashMap
-
def
lastOption: Option[(A, B)]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lift: (A) ⇒ Option[B]
- Definition Classes
- PartialFunction
-
def
map[B, That](f: ((A, B)) ⇒ B)(implicit bf: CanBuildFrom[LinkedHashMap[A, B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
mapResult[NewTo](f: (LinkedHashMap[A, B]) ⇒ NewTo): Builder[(A, B), NewTo]
- Definition Classes
- Builder
-
def
mapValues[C](f: (B) ⇒ C): Map[A, C]
- Definition Classes
- LinkedHashMap → MapLike → GenMapLike
-
def
max[B >: (A, B)](implicit cmp: Ordering[B]): (A, B)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: ((A, B)) ⇒ B)(implicit cmp: Ordering[B]): (A, B)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: (A, B)](implicit cmp: Ordering[B]): (A, B)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: ((A, B)) ⇒ B)(implicit cmp: Ordering[B]): (A, B)
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[(A, B), LinkedHashMap[A, B]]
- Attributes
- protected[this]
- Definition Classes
- MapLike → MapLike → TraversableLike → HasNewBuilder
-
def
nnSizeMapAdd(h: Int): Unit
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
nnSizeMapRemove(h: Int): Unit
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
nnSizeMapReset(tableLength: Int): Unit
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
orElse[A1 <: A, B1 >: B](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
- implicit val ordering: Ordering[A]
-
def
par: ParMap[A, B]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[(A, B), ParMap[A, B]]
- Attributes
- protected[this]
- Definition Classes
- MapLike → MapLike → TraversableLike → Parallelizable
-
def
partition(p: ((A, B)) ⇒ Boolean): (LinkedHashMap[A, B], LinkedHashMap[A, B])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
product[B >: (A, B)](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
put(key: A, value: B): Option[B]
Put (key, value) pair into this map.
Put (key, value) pair into this map.
- key
the key for the map entry
- value
the value for the map entry
- Definition Classes
- SortedLinkedHashMap → LinkedHashMap → MapLike
-
def
reduce[A1 >: (A, B)](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: (A, B)](op: (B, (A, B)) ⇒ B): B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption[B >: (A, B)](op: (B, (A, B)) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: (A, B)](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: (A, B)](op: ((A, B), B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: (A, B)](op: ((A, B), B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
remove(key: A): Option[B]
- Definition Classes
- LinkedHashMap → MapLike
-
def
removeEntry(key: A): LinkedEntry[A, B]
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
repr: LinkedHashMap[A, B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
result(): LinkedHashMap[A, B]
- Definition Classes
- MapLike → Builder
-
def
retain(p: (A, B) ⇒ Boolean): SortedLinkedHashMap.this.type
- Definition Classes
- MapLike
-
def
reversed: List[(A, B)]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
runWith[U](action: (B) ⇒ U): (A) ⇒ Boolean
- Definition Classes
- PartialFunction
-
def
sameElements[B >: (A, B)](that: GenIterable[B]): Boolean
- Definition Classes
- IterableLike → GenIterableLike
-
def
scan[B >: (A, B), That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[LinkedHashMap[A, B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, (A, B)) ⇒ B)(implicit bf: CanBuildFrom[LinkedHashMap[A, B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: ((A, B), B) ⇒ B)(implicit bf: CanBuildFrom[LinkedHashMap[A, B], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
- Annotations
- @migration
- Migration
(Changed in version 2.9.0) The behavior of
scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
-
val
seedvalue: Int
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @transient()
-
def
seq: Map[A, B]
- Definition Classes
- Map → Map → GenMap → GenMapLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
size: Int
- Definition Classes
- LinkedHashMap → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
def
sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
- Definition Classes
- Builder
-
def
sizeHint(coll: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHint(size: Int): Unit
- Definition Classes
- Builder
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHintIfCheap: Int
- Attributes
- protected[scala.collection]
- Definition Classes
- GenTraversableOnce
-
final
def
sizeMapBucketBitSize: Int
- Attributes
- protected
- Definition Classes
- HashUtils
-
final
def
sizeMapBucketSize: Int
- Attributes
- protected
- Definition Classes
- HashUtils
-
def
sizeMapDisable(): Unit
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
sizeMapInit(tableLength: Int): Unit
- Attributes
- protected
- Definition Classes
- HashTable
-
def
sizeMapInitAndRebuild(): Unit
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
val
sizemap: Array[Int]
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @transient()
-
def
slice(from: Int, until: Int): LinkedHashMap[A, B]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): Iterator[LinkedHashMap[A, B]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): Iterator[LinkedHashMap[A, B]]
- Definition Classes
- IterableLike
-
def
span(p: ((A, B)) ⇒ Boolean): (LinkedHashMap[A, B], LinkedHashMap[A, B])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
splitAt(n: Int): (LinkedHashMap[A, B], LinkedHashMap[A, B])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
stringPrefix: String
- Definition Classes
- MapLike → TraversableLike → GenTraversableLike
-
def
sum[B >: (A, B)](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
table: Array[HashEntry[A, LinkedEntry[A, B]]]
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @transient()
-
val
tableSize: Int
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @transient()
-
def
tableSizeSeed: Int
- Attributes
- protected
- Definition Classes
- HashTable
-
def
tail: LinkedHashMap[A, B]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
tails: Iterator[LinkedHashMap[A, B]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): LinkedHashMap[A, B]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): LinkedHashMap[A, B]
- Definition Classes
- IterableLike
-
def
takeWhile(p: ((A, B)) ⇒ Boolean): LinkedHashMap[A, B]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection: Iterable[(A, B)]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
val
threshold: Int
- Attributes
- protected
- Definition Classes
- HashTable
- Annotations
- @transient()
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, (A, B), Col[(A, B)]]): Col[(A, B)]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: (A, B)](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[E >: (A, B)]: Buffer[E]
- Definition Classes
- MapLike → TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: LinkedHashMap[A, B]): Iterable[(A, B)]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
toIndexedSeq: IndexedSeq[(A, B)]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable: Iterable[(A, B)]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: Iterator[(A, B)]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toList: List[(A, B)]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[(A, B), (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSeq: Seq[(A, B)]
- Definition Classes
- MapLike → MapLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: (A, B)]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: Stream[(A, B)]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
def
toString(): String
- Definition Classes
- MapLike → TraversableLike → Function1 → AnyRef → Any
-
def
toTraversable: Traversable[(A, B)]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[(A, B)]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
transform(f: (A, B) ⇒ B): SortedLinkedHashMap.this.type
- Definition Classes
- MapLike
-
def
transpose[B](implicit asTraversable: ((A, B)) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
unzip[A1, A2](implicit asPair: ((A, B)) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: ((A, B)) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
update(key: A, value: B): Unit
- Definition Classes
- MapLike
-
def
updated[V1 >: B](key: A, value: V1): Map[A, V1]
- Definition Classes
- MapLike → MapLike
-
def
values: Iterable[B]
- Definition Classes
- MapLike → GenMapLike
- Annotations
- @migration
- Migration
(Changed in version 2.8.0)
values
returnsIterable[V]
rather thanIterator[V]
.
-
def
valuesIterator: Iterator[B]
- Definition Classes
- LinkedHashMap → MapLike → GenMapLike
-
def
view(from: Int, until: Int): IterableView[(A, B), LinkedHashMap[A, B]]
- Definition Classes
- IterableLike → TraversableLike
-
def
view: IterableView[(A, B), LinkedHashMap[A, B]]
- Definition Classes
- IterableLike → TraversableLike
-
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
- @native() @throws( ... )
-
def
withDefault(d: (A) ⇒ B): Map[A, B]
- Definition Classes
- Map
-
def
withDefaultValue(d: B): Map[A, B]
- Definition Classes
- Map
-
def
withFilter(p: ((A, B)) ⇒ Boolean): FilterMonadic[(A, B), LinkedHashMap[A, B]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip[A1 >: (A, B), B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[LinkedHashMap[A, B], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipAll[B, A1 >: (A, B), That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[LinkedHashMap[A, B], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipWithIndex[A1 >: (A, B), That](implicit bf: CanBuildFrom[LinkedHashMap[A, B], (A1, Int), That]): That
- Definition Classes
- IterableLike → GenIterableLike