Pattern.AsPredicate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a predicate that tests if this pattern is found in a given input string.
[Android.Runtime.Register("asPredicate", "()Ljava/util/function/Predicate;", "", ApiSince=24)]
public Java.Util.Functions.IPredicate AsPredicate ();
[<Android.Runtime.Register("asPredicate", "()Ljava/util/function/Predicate;", "", ApiSince=24)>]
member this.AsPredicate : unit -> Java.Util.Functions.IPredicate
Returns
The predicate which can be used for finding a match on a subsequence of a string
- Attributes
Remarks
Creates a predicate that tests if this pattern is found in a given input string.
Added in 1.8.
Java documentation for java.util.regex.Pattern.asPredicate()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.