com.wix.accord.dsl

OrderingOps

trait OrderingOps extends AnyRef

Provides a DSL for objects implementing scala.math.Ordering.

Implementation note: All methods here should only require scala.math.PartialOrdering, but the canonical implicits are defined in the Ordering companion and would therefore not be imported by default at the call site.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OrderingOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def <[T](other: T)(implicit arg0: Ordering[T]): combinators.LesserThan[T]

    Generates a validator that succeeds only if the provided value is less than the specified bound.

  4. def <=[T](other: T)(implicit arg0: Ordering[T]): combinators.LesserThanOrEqual[T]

    Generates a validator that succeeds if the provided value is less than or equal to the specified bound.

  5. def ==[T](other: T)(implicit arg0: Ordering[T]): combinators.EquivalentTo[T]

    Generates a validator that succeeds if the provided value is exactly equal to the specified value.

  6. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  7. def >[T](other: T)(implicit arg0: Ordering[T]): combinators.GreaterThan[T]

    Generates a validator that succeeds only if the provided value is greater than the specified bound.

  8. def >=[T](other: T)(implicit arg0: Ordering[T]): combinators.GreaterThanOrEqual[T]

    Generates a validator that succeeds if the provided value is greater than or equal to the specified bound.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def between[T](lowerBound: T, upperBound: T)(implicit arg0: Ordering[T]): combinators.InRangeInclusive[T]

    Generates a validator that succeeds if the provided value is between (inclusive) the specified bounds.

    Generates a validator that succeeds if the provided value is between (inclusive) the specified bounds. The method exclusive is provided to specify an exclusive upper bound.

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def snippet: String

    Attributes
    protected
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def within[T](range: NumericRange[T])(implicit arg0: Ordering[T]): combinators.InRange[T]

    Generates a validator that succeeds if the provided value is within the specified range.

  28. def within(range: Range): combinators.InRange[Int]

    Generates a validator that succeeds if the provided value is within the specified range.

Inherited from AnyRef

Inherited from Any

Ungrouped