c

fm.common.rich

RichCharSequence

final class RichCharSequence extends AnyVal

Provides additional functionality for java.lang.CharSequence

Source
RichCharSequence.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichCharSequence
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RichCharSequence(s: CharSequence)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def containsIgnoreCase(target: CharSequence): Boolean
  6. def containsNormalized(target: CharSequence): Boolean
  7. def containsWithTransform(target: CharSequence, filter: (Char) => Boolean, map: (Char) => Char): Boolean
    Annotations
    @inline()
  8. def countOccurrences(ch: Char): Int

    Count the occurrences of the character

  9. def equalsNormalized(target: CharSequence): Boolean
  10. def equalsWithTransform(target: CharSequence, filter: (Char) => Boolean, map: (Char) => Char): Boolean
    Annotations
    @inline()
  11. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  12. def indexOfIgnoreCase(target: CharSequence): Int
  13. def indexOfNormalized(target: CharSequence): Int
  14. def indexOfWithTransform(target: CharSequence, filter: (Char) => Boolean, map: (Char) => Char): Int
    Annotations
    @inline()
  15. def indexesOf(target: CharSequence, fromIdx: Int, withOverlaps: Boolean): IndexedSeq[Int]
  16. def indexesOf(target: CharSequence, withOverlaps: Boolean): IndexedSeq[Int]
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isNotNullOrBlank: Boolean

    Opposite of isBlank

  19. def isNullOrBlank: Boolean

    Returns true if the string is null or only whitespace

  20. def matches(regex: Regex): Boolean
  21. def matches(pattern: Pattern): Boolean
  22. def nextCharsMatch(target: CharSequence, idx: Int = 0): Boolean

    Do the next characters starting at idx match the target

  23. def nonNullOrBlank: Boolean

    Opposite of isBlank (alias for isNotBlank)

  24. val s: CharSequence
  25. def startsWith(target: CharSequence): Boolean

    Same as String.startsWith(prefix) but for a CharSequence

  26. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped