class IndexedOps[HL <: HList, Before <: HList, At, After <: HList] extends AnyRef
Scala collection like operations on HLists given an Indexer
Author:
Harshad Deo
- HL
Type of the HList
- Before
Type of the sublist before the index
- At
Type of element at the index
- After
Type of the sublist after the index
- Since
0.1
- Alphabetic
- By Inheritance
- IndexedOps
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from IndexedOps[HL, Before, At, After] toany2stringadd[IndexedOps[HL, Before, At, After]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (IndexedOps[HL, Before, At, After], B)
- Implicit
- This member is added by an implicit conversion from IndexedOps[HL, Before, At, After] toArrowAssoc[IndexedOps[HL, Before, At, After]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val after: After
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val at: At
- lazy val before: Before
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def drop: :+:[At, After]
Drop the sublist before the index
Drop the sublist before the index
Author:
Harshad Deo
- Since
0.1
- def ensuring(cond: (IndexedOps[HL, Before, At, After]) => Boolean, msg: => Any): IndexedOps[HL, Before, At, After]
- Implicit
- This member is added by an implicit conversion from IndexedOps[HL, Before, At, After] toEnsuring[IndexedOps[HL, Before, At, After]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (IndexedOps[HL, Before, At, After]) => Boolean): IndexedOps[HL, Before, At, After]
- Implicit
- This member is added by an implicit conversion from IndexedOps[HL, Before, At, After] toEnsuring[IndexedOps[HL, Before, At, After]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): IndexedOps[HL, Before, At, After]
- Implicit
- This member is added by an implicit conversion from IndexedOps[HL, Before, At, After] toEnsuring[IndexedOps[HL, Before, At, After]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): IndexedOps[HL, Before, At, After]
- Implicit
- This member is added by an implicit conversion from IndexedOps[HL, Before, At, After] toEnsuring[IndexedOps[HL, Before, At, After]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def flatMap[B <: HList, R0 <: HList, R1 <: HList](f: (At) => B)(implicit ev0: AppendConstraint[B, After, R0], ev1: AppendConstraint[Before, R0, R1]): R1
Map the element at the index and then "flatten" the result
Map the element at the index and then "flatten" the result
Author:
Harshad Deo
- B
Result of the map
- R0
Result of appending B and After
- R1
Result of the flatmap operation
- Since
0.1
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from IndexedOps[HL, Before, At, After] toStringFormat[IndexedOps[HL, Before, At, After]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def insert[C, R <: HList](c: C)(implicit ev: AppendConstraint[Before, :+:[C, :+:[At, After]], R]): R
Insert a new element at the index
Insert a new element at the index
Author:
Harshad Deo
- C
Type of the element to be inserted
- R
Type of the resultant HList
- Since
0.1
- def insertM[B <: HList, R0 <: HList, R1 <: HList](b: B)(implicit ev0: AppendConstraint[B, :+:[At, After], R0], ev1: AppendConstraint[Before, R0, R1]): R1
Insert an HList at the index
Insert an HList at the index
Author:
Harshad Deo
- B
Type of the HList to be inserted
- R0
Type of the result of appending B and
At :+: After
- R1
Type of the resultant HList
- Since
0.1
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[T, R <: HList](f: (At) => T)(implicit ev: AppendConstraint[Before, :+:[T, After], R]): R
Map the element at the index
Map the element at the index
Author:
Harshad Deo
- T
Type of the result of the mapping
- R
Type of the resultant HList
- Since
0.1
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def remove[R <: HList](implicit ev: AppendConstraint[Before, After, R]): R
Remove the element at the index
Remove the element at the index
Author:
Harshad Deo
- R
Type of the resultant HList
- Since
0.1
- def splitAt: (Before, :+:[At, After])
Partition the HList at the index
Partition the HList at the index
Author:
Harshad Deo
- Since
0.1
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def take: Before
Keep the sublist before the index
Keep the sublist before the index
Author:
Harshad Deo
- Since
0.1
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updated[A, R <: HList](a: A)(implicit ev: AppendConstraint[Before, :+:[A, After], R]): R
Update the element at the index
Update the element at the index
Author:
Harshad Deo
- A
Type of the new element
- R
Type of the resultant HList
- Since
0.1
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def →[B](y: B): (IndexedOps[HL, Before, At, After], B)
- Implicit
- This member is added by an implicit conversion from IndexedOps[HL, Before, At, After] toArrowAssoc[IndexedOps[HL, Before, At, After]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.