(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) ++
creates a new map. Use ++=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) --
creates a new map. Use --=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) keys
returns Iterable[A]
rather than Iterator[A]
.
maximum value of the id
maximum value of the id
name of the label
name of the label
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(Changed in version 2.8.0) values
returns Iterable[B]
rather than Iterator[B]
.
A subtype of Label that uses an underlying array to map an integer id to the value associated with that id. Useful when
maxId
is not too big.type of the label value ClassTag is required to be able to build an array of type L TypeTag is required to be able to retrieve values of type L from the Label
An array based label must be defined for all ids. If desired for only some ids, mix it in with
PartialLabel