org.specs2.foldm

FoldId

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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

    checksums

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def all[T](f: (T) ⇒ Boolean): FoldM[T, scalaz.Id.Id, Boolean] { ... /* 2 definitions in type refinement */ }

    returns

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

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

    returns

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

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def bytesChecksum(algorithm: String): Fold[(Array[Byte], Int), String]

  10. def bytesMd5: Fold[(Array[Byte], Int), String]

  11. def bytesMessageDigest(algorithm: String): Fold[(Array[Byte], Int), Array[Byte]]

  12. def bytesSha1: Fold[(Array[Byte], Int), String]

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

  14. def clone(): AnyRef

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

    returns

    fold to count elements

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

    returns

    fold to count the number of unique elements

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

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

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

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

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

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

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

    returns

    the last element

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

    returns

    the latest n elements

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

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

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

    returns

    a Fold which simply accumulates elements into a List

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

    returns

    a maximum fold

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

    returns

    a maximum fold by a given member

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

    returns

    a maximum fold of a given member

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

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

    returns

    the mean of elements

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

    returns

    a minimum fold

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

    returns

    a minimum fold by a given member

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

    returns

    a minimum fold of a given member

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

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

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

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

    returns

    the number of elements, mean and standard deviation

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

    returns

    the number of elements, mean and unbiased variance

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

    returns

    the number of elements, mean and variance

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

    returns

    the number of elements, mean and variation

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

    returns

    a plus fold from a Num

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

    returns

    a plus fold from a mapping to a Num

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

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

    returns

    the number of elements, mean and standard deviation

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

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

    returns

    a times fold from a Num

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

    returns

    a times fold from a mapping to a Num

  49. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped