given_Sized_String

org.specs2.collection.SizedLowPriority2.given_Sized_String
object given_Sized_String extends Sized[String]

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

Attributes

Graph
Supertypes
trait Sized[String]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def size(t: String): Int

Attributes

Returns

the size of t

Inherited methods

def length(t: String): Int

alias for size

alias for size

Attributes

Inherited from:
Sized