Sized

trait Sized[T]

A trait for anything that can be sized

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def size(t: T): Int
Returns

the size of t

Concrete methods

def length(t: T): Int

alias for size

alias for size