final class Wildcard extends AnyVal
The Wildcard
value class provides an implementation for wildcard string
matching that checks if the 'pattern' string matches against a given 'self'
string based on single (CHAR_WILD_ONE) and/or multiple (CHAR_WILD_MANY) wildcards.
- Alphabetic
- By Inheritance
- Wildcard
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Wildcard(self: 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
-
def
=~(pattern: Any): Boolean
The equal-match operator determines whether the 'pattern' string matches the given 'self' string.
The equal-match operator determines whether the 'pattern' string matches the given 'self' string. Pattern may contain single- and/or multiple-replacing wildcard characters.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isMatch(pattern: String): Boolean
Test whether the 'pattern' string matches the given 'self' string.
Test whether the 'pattern' string matches the given 'self' string. Pattern may contain single- and/or multiple-replacing wildcard characters.
- val self: String
-
def
toString(): String
Convert this
Wildcard
object to its underlying string.Convert this
Wildcard
object to its underlying string.- Definition Classes
- Wildcard → Any