Object

eu.timepit.refined

collection

Related Doc: package refined

Permalink

object collection extends CollectionValidate with CollectionInference

Source
collection.scala
Linear Supertypes
CollectionInference, CollectionValidate, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. collection
  2. CollectionInference
  3. CollectionValidate
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Contains[U] = Not[Forall[Not[Equal[U]]]]

    Permalink

    Predicate that checks if a TraversableOnce contains a value equal to U.

  2. case class Count[PA, PC](pa: PA, pc: PC) extends Product with Serializable

    Permalink

    Predicate that counts the number of elements in a TraversableOnce which satisfy the predicate PA and passes the result to the numeric predicate PC.

  3. case class Empty() extends Product with Serializable

    Permalink

    Predicate that checks if a TraversableOnce is empty.

  4. type Exists[P] = Not[Forall[Not[P]]]

    Permalink

    Predicate that checks if the predicate P holds for some elements of a TraversableOnce.

  5. case class Forall[P](p: P) extends Product with Serializable

    Permalink

    Predicate that checks if the predicate P holds for all elements of a TraversableOnce.

  6. case class Head[P](p: P) extends Product with Serializable

    Permalink

    Predicate that checks if the predicate P holds for the first element of a Traversable.

  7. case class Index[N, P](n: N, p: P) extends Product with Serializable

    Permalink

    Predicate that checks if the predicate P holds for the element at index N of a sequence.

  8. case class Last[P](p: P) extends Product with Serializable

    Permalink

    Predicate that checks if the predicate P holds for the last element of a Traversable.

  9. type MaxSize[N] = Size[LessEqual[N]]

    Permalink

    Predicate that checks if the size of a TraversableOnce is less than or equal to N.

  10. type MinSize[N] = Size[GreaterEqual[N]]

    Permalink

    Predicate that checks if the size of a TraversableOnce is greater than or equal to N.

  11. type NonEmpty = Not[Empty]

    Permalink

    Predicate that checks if a TraversableOnce is not empty.

  12. case class Size[P](p: P) extends Product with Serializable

    Permalink

    Predicate that checks if the size of a TraversableOnce satisfies the predicate P.

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. implicit def countValidate[A, PA, RA, PC, RC, T](implicit va: Aux[A, PA, RA], vc: Aux[Int, PC, RC], ev: (T) ⇒ TraversableOnce[A]): Aux[T, Count[PA, PC], Count[List[(va)#Res], (vc)#Res]]

    Permalink
    Definition Classes
    CollectionValidate
  7. implicit def emptyValidate[T](implicit ev: (T) ⇒ TraversableOnce[_]): Plain[T, Empty]

    Permalink
    Definition Classes
    CollectionValidate
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. implicit def existsInference[A, B](implicit p1: ==>[A, B]): ==>[Exists[A], Exists[B]]

    Permalink
    Definition Classes
    CollectionInference
  11. implicit def existsNonEmptyInference[P]: ==>[Exists[P], NonEmpty]

    Permalink
    Definition Classes
    CollectionInference
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. implicit def forallValidate[A, P, R, T[a] <: TraversableOnce[a]](implicit v: Aux[A, P, R]): Aux[T[A], Forall[P], Forall[List[(v)#Res]]]

    Permalink
    Definition Classes
    CollectionValidate
  14. implicit def forallValidateView[A, P, R, T](implicit v: Aux[A, P, R], ev: (T) ⇒ TraversableOnce[A]): Aux[T, Forall[P], Forall[List[(v)#Res]]]

    Permalink
    Definition Classes
    CollectionValidate
  15. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. implicit def headExistsInference[P]: ==>[Head[P], Exists[P]]

    Permalink
    Definition Classes
    CollectionInference
  18. implicit def headInference[A, B](implicit p1: ==>[A, B]): ==>[Head[A], Head[B]]

    Permalink
    Definition Classes
    CollectionInference
  19. implicit def headValidate[A, P, R, T[a] <: Traversable[a]](implicit v: Aux[A, P, R]): Aux[T[A], Head[P], Head[Option[(v)#Res]]]

    Permalink
    Definition Classes
    CollectionValidate
  20. implicit def headValidateView[A, P, R, T](implicit v: Aux[A, P, R], ev: (T) ⇒ Traversable[A]): Aux[T, Head[P], Head[Option[(v)#Res]]]

    Permalink
    Definition Classes
    CollectionValidate
  21. implicit def indexExistsInference[N, P]: ==>[Index[N, P], Exists[P]]

    Permalink
    Definition Classes
    CollectionInference
  22. implicit def indexInference[N, A, B](implicit p1: ==>[A, B]): ==>[Index[N, A], Index[N, B]]

    Permalink
    Definition Classes
    CollectionInference
  23. implicit def indexValidate[A, P, R, N <: Int, T](implicit v: Aux[A, P, R], ev: (T) ⇒ PartialFunction[Int, A], wn: Aux[N]): Aux[T, Index[N, P], Index[N, Option[(v)#Res]]]

    Permalink
    Definition Classes
    CollectionValidate
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. implicit def lastExistsInference[P]: ==>[Last[P], Exists[P]]

    Permalink
    Definition Classes
    CollectionInference
  26. implicit def lastInference[A, B](implicit p1: ==>[A, B]): ==>[Last[A], Last[B]]

    Permalink
    Definition Classes
    CollectionInference
  27. implicit def lastValidate[A, P, R, T[a] <: Traversable[a]](implicit v: Aux[A, P, R]): Aux[T[A], Last[P], Last[Option[(v)#Res]]]

    Permalink
    Definition Classes
    CollectionValidate
  28. implicit def lastValidateView[A, P, R, T](implicit v: Aux[A, P, R], ev: (T) ⇒ Traversable[A]): Aux[T, Last[P], Last[Option[(v)#Res]]]

    Permalink
    Definition Classes
    CollectionValidate
  29. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  32. implicit def sizeInference[A, B](implicit p1: ==>[A, B]): ==>[Size[A], Size[B]]

    Permalink
    Definition Classes
    CollectionInference
  33. implicit def sizeValidate[T, P, RP](implicit v: Aux[Int, P, RP], ev: (T) ⇒ TraversableOnce[_]): Aux[T, Size[P], Size[(v)#Res]]

    Permalink
    Definition Classes
    CollectionValidate
  34. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from CollectionInference

Inherited from CollectionValidate

Inherited from AnyRef

Inherited from Any

Ungrouped