scala.collection.generic.Sizing

trait Sizing extends AnyRef

A trait for objects which have a size.

Concrete Value Members From scala.collection.generic.Sizing

abstract def size: Int

(defined at scala.collection.generic.Sizing)

Full Source:

/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2010-2013, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

package scala
package collection
package generic

/** A trait for objects which have a size.
 */
trait Sizing {
  def size: Int
}