final case class UString(asString: String) extends AnyVal with Product with Serializable
UString is a wrapper of a string with Unicode manipulation.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UString
- Serializable
- Product
- Equals
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new UString(asString: String)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val asString: String
- def getAt(n: Int, unicode: Boolean): Option[UChar]
Returns a character at the specified index.
- def getBefore(n: Int, unicode: Boolean): Option[UChar]
Returns a character before the specified index.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def insert(n: Int, s: UString): UString
Inserts a string at the
n-th character. - def insertAt(n: Int, c: UChar): UString
Inserts a character at the
n-th character. - def isEmpty: Boolean
Tests whether this string is empty or not.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator(unicode: Boolean): Iterator[UChar]
Iterates the string.
- def nonEmpty: Boolean
Negates isEmpty.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def replaceAt(n: Int, c: UChar, unicode: Boolean): UString
Replaces a character at the
n-th character. - def sizeAsString: Int
An alias of
asString.length. - def substring(begin: Int, end: Int): UString
Returns substring of this string between
beginandend - 1. - def toString(): String
- Definition Classes
- UString → Any