Packages

c

org.scalatest.words

ResultOfLessThanComparison

final class ResultOfLessThanComparison[T] extends AnyRef

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Source
ResultOfLessThanComparison.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResultOfLessThanComparison
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResultOfLessThanComparison(right: T)(implicit arg0: Ordering[T])

Value Members

  1. def apply(left: T): Boolean

    This method is invoked by be methods to which instances of this class are passed, which enables syntax such as:

    This method is invoked by be methods to which instances of this class are passed, which enables syntax such as:

    result should not be < (7)
                      ^  ... invoked by this be method
    

    or

    num should (not be < (10) and not be > (17))
                    ^  ... invoked by this be method
    

  2. val right: T
  3. def toString(): String

    Override toString to return "< ([right])"

    Override toString to return "< ([right])"

    Definition Classes
    ResultOfLessThanComparison → AnyRef → Any