VectorZero

com.phasmid.majabigwaduce.core.Zero.VectorZero
trait VectorZero[X] extends Zero[Map[Int, X]]

A specialized implementation of the Zero type class for Map[Int, X]. This trait provides a zero (empty) value for a map with key type Int and generic value type X.

Type parameters

X

The value type of the map for which the zero (empty) instance is defined.

Attributes

Graph
Supertypes
trait Zero[Map[Int, X]]
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object IntVectorZero

Members list

Value members

Concrete methods

def zero: Map[Int, X]

Method to create a zero/empty/nothing value of X

Method to create a zero/empty/nothing value of X

Attributes

Returns

an X which is zero (empty, etc.)