Object/Class

org.scalacheck

Shrink

Related Docs: class Shrink | package scalacheck

Permalink

object Shrink extends ShrinkLowPriority with Serializable

Source
Shrink.scala
Linear Supertypes
Serializable, Serializable, ShrinkLowPriority, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Shrink
  2. Serializable
  3. Serializable
  4. ShrinkLowPriority
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[T](s: (T) ⇒ Stream[T]): Shrink[T]

    Permalink

    Shrink instance factory

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def shrink[T](x: T)(implicit s: Shrink[T]): Stream[T]

    Permalink

    Shrink a value

  17. implicit def shrinkAny[T]: Shrink[T]

    Permalink

    Default shrink instance

    Default shrink instance

    Definition Classes
    ShrinkLowPriority
  18. implicit def shrinkContainer[C[_], T](implicit v: (C[T]) ⇒ Traversable[T], s: Shrink[T], b: Buildable[T, C[T]]): Shrink[C[T]]

    Permalink

    Shrink instance of container

  19. implicit def shrinkContainer2[C[_, _], T, U](implicit v: (C[T, U]) ⇒ Traversable[(T, U)], s: Shrink[(T, U)], b: Buildable[(T, U), C[T, U]]): Shrink[C[T, U]]

    Permalink

    Shrink instance of container2

  20. implicit val shrinkDuration: Shrink[Duration]

    Permalink
  21. implicit def shrinkEither[T1, T2](implicit arg0: Shrink[T1], arg1: Shrink[T2]): Shrink[Either[T1, T2]]

    Permalink
  22. implicit val shrinkFiniteDuration: Shrink[FiniteDuration]

    Permalink
  23. implicit def shrinkFractional[T](implicit arg0: Fractional[T]): Shrink[T]

    Permalink

    Shrink instances for numeric data types

  24. implicit def shrinkIntegral[T](implicit arg0: Integral[T]): Shrink[T]

    Permalink
  25. implicit def shrinkOption[T](implicit arg0: Shrink[T]): Shrink[Option[T]]

    Permalink

    Shrink instance of Option

  26. implicit lazy val shrinkString: Shrink[String]

    Permalink

    Shrink instance of String

  27. implicit def shrinkTuple2[T1, T2](implicit arg0: Shrink[T1], arg1: Shrink[T2]): Shrink[(T1, T2)]

    Permalink

    Shrink instance of 2-tuple

  28. implicit def shrinkTuple3[T1, T2, T3](implicit arg0: Shrink[T1], arg1: Shrink[T2], arg2: Shrink[T3]): Shrink[(T1, T2, T3)]

    Permalink

    Shrink instance of 3-tuple

  29. implicit def shrinkTuple4[T1, T2, T3, T4](implicit arg0: Shrink[T1], arg1: Shrink[T2], arg2: Shrink[T3], arg3: Shrink[T4]): Shrink[(T1, T2, T3, T4)]

    Permalink

    Shrink instance of 4-tuple

  30. implicit def shrinkTuple5[T1, T2, T3, T4, T5](implicit arg0: Shrink[T1], arg1: Shrink[T2], arg2: Shrink[T3], arg3: Shrink[T4], arg4: Shrink[T5]): Shrink[(T1, T2, T3, T4, T5)]

    Permalink

    Shrink instance of 5-tuple

  31. implicit def shrinkTuple6[T1, T2, T3, T4, T5, T6](implicit arg0: Shrink[T1], arg1: Shrink[T2], arg2: Shrink[T3], arg3: Shrink[T4], arg4: Shrink[T5], arg5: Shrink[T6]): Shrink[(T1, T2, T3, T4, T5, T6)]

    Permalink

    Shrink instance of 6-tuple

  32. implicit def shrinkTuple7[T1, T2, T3, T4, T5, T6, T7](implicit arg0: Shrink[T1], arg1: Shrink[T2], arg2: Shrink[T3], arg3: Shrink[T4], arg4: Shrink[T5], arg5: Shrink[T6], arg6: Shrink[T7]): Shrink[(T1, T2, T3, T4, T5, T6, T7)]

    Permalink

    Shrink instance of 7-tuple

  33. implicit def shrinkTuple8[T1, T2, T3, T4, T5, T6, T7, T8](implicit arg0: Shrink[T1], arg1: Shrink[T2], arg2: Shrink[T3], arg3: Shrink[T4], arg4: Shrink[T5], arg5: Shrink[T6], arg6: Shrink[T7], arg7: Shrink[T8]): Shrink[(T1, T2, T3, T4, T5, T6, T7, T8)]

    Permalink

    Shrink instance of 8-tuple

  34. implicit def shrinkTuple9[T1, T2, T3, T4, T5, T6, T7, T8, T9](implicit arg0: Shrink[T1], arg1: Shrink[T2], arg2: Shrink[T3], arg3: Shrink[T4], arg4: Shrink[T5], arg5: Shrink[T6], arg6: Shrink[T7], arg7: Shrink[T8], arg8: Shrink[T9]): Shrink[(T1, T2, T3, T4, T5, T6, T7, T8, T9)]

    Permalink

    Shrink instance of 9-tuple

  35. def shrinkWithOrig[T](x: T)(implicit s: Shrink[T]): Stream[T]

    Permalink

    Shrink a value, but also return the original value as the first element in the resulting stream

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def xmap[T, U](from: (T) ⇒ U, to: (U) ⇒ T)(implicit st: Shrink[T]): Shrink[U]

    Permalink

    Transform a Shrink[T] to a Shrink[U] where T and U are two isomorphic types whose relationship is described by the provided transformation functions.

    Transform a Shrink[T] to a Shrink[U] where T and U are two isomorphic types whose relationship is described by the provided transformation functions. (exponential functor map)

Inherited from Serializable

Inherited from Serializable

Inherited from ShrinkLowPriority

Inherited from AnyRef

Inherited from Any

Ungrouped