Sized

org.specs2.data.Sized
See theSized companion trait
object Sized extends SizedLowImplicits

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Sized.type

Members list

Type members

Classlikes

implicit class SizedOps[T](t: T)(implicit sized: Sized[T])

any scala array has a size

any scala array has a size

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T](implicit sized: Sized[T]): Sized[T]

Implicits

Implicits

final implicit def SizedOps[T](t: T)(implicit sized: Sized[T]): SizedOps[T]

any scala array has a size

any scala array has a size

Attributes

implicit def scalaTraversableIsSized[I <: Iterable[_]]: Sized[I]

any scala collection has a size

any scala collection has a size

Attributes

Inherited implicits

implicit def javaCollectionIsSized[T <: Collection[_]]: Sized[T]

any java collection has a size

any java collection has a size

Attributes

Inherited from:
SizedLowImplicits
implicit def scalaArrayIsSized[T]: Sized[Array[T]]

Attributes

Inherited from:
SizedLowImplicits
implicit def stringIsSized: Sized[String]

a regular string has a size, without having to be converted to an Traversable

a regular string has a size, without having to be converted to an Traversable

Attributes

Inherited from:
SizedLowImplicits