Class

io.github.hamsters

HCons

Related Doc: package hamsters

Permalink

case class HCons[T, U <: HList](head: T, tail: U) extends HList with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, HList, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HCons
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HList
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HCons(head: T, tail: U)

    Permalink

Type Members

  1. type Plus[L <: HList] = HCons[T, U.Plus[L]]

    Permalink
    Definition Classes
    HConsHList

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +[V](v: V)(implicit f: Appender[HCons[T, U], HCons[V, HNil], Plus[HCons[V, HNil]]]): HCons[T, U.Plus[HCons[V, HNil]]]

    Permalink

    Append an element to this HList

    Append an element to this HList

    returns

    a new HList

  4. def ++[L2 <: HList](l2: L2)(implicit f: Appender[HCons[T, U], L2, Plus[L2]]): HCons[T, U.Plus[L2]]

    Permalink

    Append another HList to this HList

    Append another HList to this HList

    returns

    a new HList

  5. def ->[B](y: B): (HCons[T, U], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from HCons[T, U] to ArrowAssoc[HCons[T, U]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. def ::[V](v: V): HCons[V, HCons[T, U]]

    Permalink

    Append element at the beginning of this HList

    Append element at the beginning of this HList

    returns

    a new HList

    Definition Classes
    HConsHList
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def apply[A](index: Int)(implicit arg0: ClassTag[A]): A

    Permalink

    Retrieve element at index

    Retrieve element at index

    returns

    element at index

    Definition Classes
    HConsHList
  9. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def ensuring(cond: (HCons[T, U]) ⇒ Boolean, msg: ⇒ Any): HCons[T, U]

    Permalink
    Implicit information
    This member is added by an implicit conversion from HCons[T, U] to Ensuring[HCons[T, U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (HCons[T, U]) ⇒ Boolean): HCons[T, U]

    Permalink
    Implicit information
    This member is added by an implicit conversion from HCons[T, U] to Ensuring[HCons[T, U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): HCons[T, U]

    Permalink
    Implicit information
    This member is added by an implicit conversion from HCons[T, U] to Ensuring[HCons[T, U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): HCons[T, U]

    Permalink
    Implicit information
    This member is added by an implicit conversion from HCons[T, U] to Ensuring[HCons[T, U]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def filter(p: (Any) ⇒ Boolean): HList

    Permalink

    Filter this HList with a predicate

    Filter this HList with a predicate

    returns

    HNil

    Definition Classes
    HConsHList
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def foldLeft[V](zero: V)(f: (V, Any) ⇒ V): V

    Permalink

    Applies a binary operator to a start value and all elements of this HList, going left to right.

    Applies a binary operator to a start value and all elements of this HList, going left to right.

    returns

    computed result

  19. def foreach(f: (Any) ⇒ Unit): Unit

    Permalink

    Executes f for each element of the HList

    Executes f for each element of the HList

    Definition Classes
    HList
  20. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from HCons[T, U] to StringFormat[HCons[T, U]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. def get[A](index: Int)(implicit arg0: ClassTag[A]): Option[A]

    Permalink

    Retrieve element at index in an Option

    Retrieve element at index in an Option

    returns

    Option of element at index

    Definition Classes
    HConsHList
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. val head: T

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def map(f: (Any) ⇒ Any): HList

    Permalink

    Apply f to all elements of this HList

    Apply f to all elements of this HList

    returns

    a new HList

    Definition Classes
    HConsHList
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. val tail: U

    Permalink
  31. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def [B](y: B): (HCons[T, U], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from HCons[T, U] to ArrowAssoc[HCons[T, U]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from HCons[T, U] to any2stringadd[HCons[T, U]] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (hCons: any2stringadd[HCons[T, U]]).+(other)
    Definition Classes
    any2stringadd

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HList

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from HCons[T, U] to any2stringadd[HCons[T, U]]

Inherited by implicit conversion StringFormat from HCons[T, U] to StringFormat[HCons[T, U]]

Inherited by implicit conversion Ensuring from HCons[T, U] to Ensuring[HCons[T, U]]

Inherited by implicit conversion ArrowAssoc from HCons[T, U] to ArrowAssoc[HCons[T, U]]

Ungrouped