class SiOps[S] extends AnyRef
Provides scala collection like operations on string indexed collections like Record and StringIndexedCollection
Author:
Harshad Deo
- S
Type on which the operations are defined
- Since
0.1
- Alphabetic
- By Inheritance
- SiOps
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SiOps(s: S)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (SiOps[S], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add[U, R](lh: LiteralHash[String], u: U)(implicit ev: SIAddConstraint[ValueHash, S, U, R]): R
Add the element at the given index
Add the element at the given index
Author:
Harshad Deo
- U
Type of the element to be added
- R
Type of the resultant collection
- Since
0.1
- def apply[T](lh: LiteralHash[String])(implicit ev: AtConstraint[ValueHash, S, T]): T
Element at the index
Element at the index
Author:
Harshad Deo
- T
Type of the element
- Since
0.1
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (SiOps[S]) => Boolean, msg: => Any): SiOps[S]
- def ensuring(cond: (SiOps[S]) => Boolean): SiOps[S]
- def ensuring(cond: Boolean, msg: => Any): SiOps[S]
- def ensuring(cond: Boolean): SiOps[S]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 size[L <: Dense](implicit ev0: LengthConstraint[S, L], ev1: DenseIntRep[L]): Int
Size of the collection
Size of the collection
Author:
Harshad Deo
- L
Typelevel representation of the size of the collection
- Since
0.1
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toMap[R](implicit ev: ToMapConstraint[S, R]): R
Converts the collection to a map
Converts the collection to a map
Author:
Harshad Deo
- R
Type of the resultant map
- Since
0.1
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updated[U, R](lh: LiteralHash[String], u: U)(implicit ev: UpdatedConstraint[ValueHash, S, U, R]): R
Update the element at the index
Update the element at the index
Author:
Harshad Deo
- U
Resultant type of the element at the index
- R
Resultant type of the collection
- 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): (SiOps[S], B)
- Implicit
- This member is added by an implicit conversion from SiOps[S] toArrowAssoc[SiOps[S]] 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.