語言

Pattern.AsPredicate 方法

定義

建立一個謂詞,測試該模式是否存在於給定輸入字串中。

[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

傳回

可用於在字串子序列上尋找匹配的謂詞

屬性

備註

建立一個謂詞,測試該模式是否存在於給定輸入字串中。

新增於1.8版本。

Java 文件 java.util.regex.Pattern.asPredicate()

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於