CharPredicate

sealed abstract class CharPredicate extends Char => Boolean
Companion
object
trait Char => Boolean
class Object
trait Matchable
class Any
class MaskBased
class General

Value members

Abstract methods

def ++(chars: Seq[Char]): CharPredicate
def --(chars: Seq[Char]): CharPredicate

Concrete methods

def ++(char: Char): CharPredicate
def ++(chars: String): CharPredicate
def --(char: Char): CharPredicate
def --(chars: String): CharPredicate
def firstMatch(string: String): Option[Char]
def firstMismatch(string: String): Option[Char]
def indexOfFirstMatch(string: String): Int
def indexOfFirstMismatch(string: String): Int
def isMaskBased: Boolean

Determines wether this CharPredicate is an instance of the high-performance, constant-time CharPredicate.MaskBased implementation.

Determines wether this CharPredicate is an instance of the high-performance, constant-time CharPredicate.MaskBased implementation.

def matchesAll(string: String): Boolean
def matchesAny(string: String): Boolean

Inherited methods

@unspecialized
def andThen[A](g: Boolean => A): Char => A
Inherited from
Function1
def apply(v1: Char): Boolean
Inherited from
Function1
@unspecialized
def compose[A](g: A => Char): A => Boolean
Inherited from
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from
Function1