CIString

final class CIString extends Ordered[CIString] with Serializable

A case-insensitive String.

A case-insensitive String.

Two CI strings are equal if and only if they are the same length, and each corresponding character is equal after calling either toUpper or toLower.

Ordering is based on a string comparison after folding each character to uppercase and then back to lowercase.

All comparisons are insensitive to locales.

Value Params
toString

The original value the CI String was constructed with.

Companion
object
trait Serializable
trait Ordered[CIString]
trait Comparable[CIString]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def compare(that: CIString): Int
Definition Classes
Ordered
override def equals(that: Any): Boolean
Definition Classes
Any
override def hashCode(): Int
Definition Classes
Any
def isEmpty: Boolean
def length: Int
def nonEmpty: Boolean
def transform(f: String => String): CIString

Inherited methods

def <(that: CIString): Boolean
Inherited from
Ordered
def <=(that: CIString): Boolean
Inherited from
Ordered
def >(that: CIString): Boolean
Inherited from
Ordered
def >=(that: CIString): Boolean
Inherited from
Ordered
def compareTo(that: CIString): Int
Inherited from
Ordered

Concrete fields

override val toString: String