Sized

org.specs2.collection.Sized
See theSized companion object
trait Sized[T]

A trait for anything that can be sized

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object given_Sized_String.type

Members list

Value members

Abstract methods

def size(t: T): Int

Attributes

Returns

the size of t

Concrete methods

def length(t: T): Int

alias for size

alias for size

Attributes