class Wildcard extends Matchable
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
- Matchable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Wildcard(self: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
=~(pattern: String): 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.
- pattern
the pattern to be matched (e.g., wildcard or regex)@param self the self against which the string to be matched
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val self: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
Convert this
Wildcard
object to its underlying string.Convert this
Wildcard
object to its underlying string.- Definition Classes
- Wildcard → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated