Sized

org.specs2.data.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

Members list

Value members

Abstract methods

def size(t: T): Int

Attributes

Returns

the size of t

Concrete methods

def isEmpty(t: T): Boolean
def length(t: T): Int

alias for size

alias for size

Attributes