All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.specs2.data.Sized.scala Maven / Gradle / Ivy

There is a newer version: 3.7
Show newest version
package org.specs2
package data

/** a trait for anything that can be sized */
trait Sized[T] {
  def size(t: T) : Int
  /** alias for the size method */
  def length(t: T) : Int = size(t)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy