Class

fm.common.rich

RichCharSequence

Related Doc: package rich

Permalink

final class RichCharSequence extends AnyVal

Provides additional functionality for java.lang.CharSequence

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

Instance Constructors

  1. new RichCharSequence(s: CharSequence)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def countOccurrences(ch: Char): Int

    Permalink

    Count the occurrences of the character

  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. def indexesOf(target: CharSequence, fromIdx: Int, withOverlaps: Boolean): IndexedSeq[Int]

    Permalink
  8. def indexesOf(target: CharSequence, withOverlaps: Boolean): IndexedSeq[Int]

    Permalink
  9. def isBlank: Boolean

    Permalink

    Returns true if the string is null or only whitespace

  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. def isNotBlank: Boolean

    Permalink

    Opposite of isBlank

  12. def matches(regex: Regex): Boolean

    Permalink
  13. def matches(pattern: Pattern): Boolean

    Permalink
  14. def nextCharsMatch(target: CharSequence, idx: Int = 0): Boolean

    Permalink

    Do the next characters starting at idx match the target

  15. def nonBlank: Boolean

    Permalink

    Opposite of isBlank (alias for isNotBlank)

  16. val s: CharSequence

    Permalink
  17. def startsWith(target: CharSequence): Boolean

    Permalink

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

  18. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped