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
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- 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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
size[L <: Dense](implicit ev0: LengthConstraint[S, L], ev1: DenseRep[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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (SiOps[S], B)