語言

ILongConsumer.AndThen(ILongConsumer) 方法

定義

回傳一個 LongConsumer 組合,依序執行此操作,接著執行該 after 操作。

[Android.Runtime.Register("andThen", "(Ljava/util/function/LongConsumer;)Ljava/util/function/LongConsumer;", "GetAndThen_Ljava_util_function_LongConsumer_Handler:Java.Util.Functions.ILongConsumer, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public virtual Java.Util.Functions.ILongConsumer? AndThen(Java.Util.Functions.ILongConsumer? after);
[<Android.Runtime.Register("andThen", "(Ljava/util/function/LongConsumer;)Ljava/util/function/LongConsumer;", "GetAndThen_Ljava_util_function_LongConsumer_Handler:Java.Util.Functions.ILongConsumer, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member AndThen : Java.Util.Functions.ILongConsumer -> Java.Util.Functions.ILongConsumer
override this.AndThen : Java.Util.Functions.ILongConsumer -> Java.Util.Functions.ILongConsumer

參數

after
ILongConsumer

此操作後要執行的操作

傳回

一個組合 LongConsumer ,按順序執行此操作,接著是after

屬性

備註

回傳一個 LongConsumer 組合,依序執行此操作,接著執行該 after 操作。 若執行任一操作會拋出異常,該異常會被轉發給組合操作的呼叫者。 若執行此操作時拋出異常,則 after 該操作將不會被執行。

的 java.util.function.LongConsumer.andThen(java.util.function.LongConsumer)Java 檔。

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

適用於