Object

org.specs2.foldm

FoldId

Related Doc: package foldm

Permalink

object FoldId

List of predefined FoldIds

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FoldId
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Bytes = (Array[Byte], Int)

    Permalink

    checksums

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 all[T](f: (T) ⇒ Boolean): FoldM[T, scalaz.Id.Id, Boolean] { ... /* 2 definitions in type refinement */ }

    Permalink

    returns

    return true if the list is empty or if all elements are true, use a \/- state to indicate early failure

  5. def any[T](f: (T) ⇒ Boolean): FoldM[T, scalaz.Id.Id, Boolean] { ... /* 2 definitions in type refinement */ }

    Permalink

    returns

    return false if the list is empty or if all elements are false, use a \/- state to indicate early success

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def bytesChecksum(algorithm: String): Fold[Bytes, String]

    Permalink
  8. def bytesMd5: Fold[Bytes, String]

    Permalink
  9. def bytesMessageDigest(algorithm: String): Fold[Bytes, Array[Byte]]

    Permalink
  10. def bytesSha1: Fold[Bytes, String]

    Permalink
  11. def checksum(algorithm: String): Fold[Array[Byte], String]

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def count[T]: FoldState[T, Int]

    Permalink

    returns

    fold to count elements

  14. def countUnique[T]: Fold[T, Int]

    Permalink

    returns

    fold to count the number of unique elements

  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  21. def last[T]: FoldState[T, Option[T]]

    Permalink

    returns

    the last element

  22. def latest[T](n: Int): FoldM[T, scalaz.Id.Id, List[T]] { type S = scala.collection.mutable.ListBuffer[T] }

    Permalink

    returns

    the latest n elements

  23. def lift[T, U](f: (T) ⇒ U): FoldM[T, [+X]X, Option[U]] { type S = Option[T] }

    Permalink

    lift a function to a fold that applies f to the last element

  24. def list[T]: Fold[T, List[T]]

    Permalink

    returns

    a Fold which simply accumulates elements into a List

  25. def maximum[T](implicit arg0: Order[T]): FoldState[T, Option[T]]

    Permalink

    returns

    a maximum fold

  26. def maximumBy[A, T](f: (A) ⇒ T)(implicit arg0: Order[T]): FoldState[A, Option[A]]

    Permalink

    returns

    a maximum fold by a given member

  27. def maximumOf[A, T](f: (A) ⇒ T)(implicit arg0: Order[T]): FoldState[A, Option[T]]

    Permalink

    returns

    a maximum fold of a given member

  28. def md5: Fold[Array[Byte], String]

    Permalink
  29. def mean[N](implicit arg0: Fractional[N]): Fold[N, N] { type S = (N, Int) }

    Permalink

    returns

    the mean of elements

  30. def minimum[T](implicit arg0: Order[T]): FoldState[T, Option[T]]

    Permalink

    returns

    a minimum fold

  31. def minimumBy[A, T](f: (A) ⇒ T)(implicit arg0: Order[T]): FoldState[A, Option[A]]

    Permalink

    returns

    a minimum fold by a given member

  32. def minimumOf[A, T](f: (A) ⇒ T)(implicit arg0: Order[T]): FoldState[A, Option[T]]

    Permalink

    returns

    a minimum fold of a given member

  33. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  36. def onlineStddev[N](implicit arg0: Fractional[N]): Fold[N, (Int, N, Double)]

    Permalink

    returns

    the number of elements, mean and standard deviation

  37. def onlineUnbiasedVariance[N](implicit arg0: Fractional[N]): Fold[N, (Int, N, N)]

    Permalink

    returns

    the number of elements, mean and unbiased variance

  38. def onlineVariance[N](implicit arg0: Fractional[N]): Fold[N, (Int, N, N)]

    Permalink

    returns

    the number of elements, mean and variance

  39. def onlineVariation[N](implicit arg0: Fractional[N]): Fold[N, (Int, N, N)]

    Permalink

    returns

    the number of elements, mean and variation

  40. def plus[N](implicit arg0: Numeric[N]): FoldState[N, N]

    Permalink

    returns

    a plus fold from a Num

  41. def plusBy[A, N](f: (A) ⇒ N)(implicit arg0: Numeric[N]): FoldState[A, N]

    Permalink

    returns

    a plus fold from a mapping to a Num

  42. def sha1: Fold[Array[Byte], String]

    Permalink
  43. def stddev[N](implicit arg0: Fractional[N]): Fold[N, Double]

    Permalink

    returns

    the number of elements, mean and standard deviation

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

    Permalink
    Definition Classes
    AnyRef
  45. def times[N](implicit arg0: Numeric[N]): FoldState[N, N]

    Permalink

    returns

    a times fold from a Num

  46. def timesBy[A, N](f: (A) ⇒ N)(implicit arg0: Numeric[N]): FoldState[A, N]

    Permalink

    returns

    a times fold from a mapping to a Num

  47. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped