org.scalatest.matchers.Matchers

class SizeWrapper

[source: org/scalatest/matchers/Matchers.scala]

abstract class SizeWrapper
extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for ShouldMatchers or MustMatchers for an overview of the matchers DSL.

Subclasses of this abstract class are used as the result of implicit conversions from the various structural types that are considered to represent size: size or getSize methods or fields that return Int or Long. This enables the have size (7) syntax to be used with any object that has a size. The implicit conversion methods that result in this type are:

Author
Bill Venners
Method Summary
abstract def size : Long
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def size : Long


Copyright (C) 2001-2010 Artima, Inc. All rights reserved.