Pattern.AsMatchPredicate Method

Definition

Creates a predicate that tests if this pattern matches a given input string.

[Android.Runtime.Register("asMatchPredicate", "()Ljava/util/function/Predicate;", "", ApiSince=34)]
public Java.Util.Functions.IPredicate AsMatchPredicate ();
[<Android.Runtime.Register("asMatchPredicate", "()Ljava/util/function/Predicate;", "", ApiSince=34)>]
member this.AsMatchPredicate : unit -> Java.Util.Functions.IPredicate

Returns

The predicate which can be used for matching an input string against this pattern.

Attributes

Remarks

Creates a predicate that tests if this pattern matches a given input string.

Added in 11.

Java documentation for java.util.regex.Pattern.asMatchPredicate().

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.

Applies to