Langue

ILongConsumer.AndThen(ILongConsumer) Méthode

Définition

Retourne une composition LongConsumer qui effectue, en séquence, cette opération suivie de l’opération 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

Paramètres

after
ILongConsumer

opération à effectuer après cette opération

Retours

composé LongConsumer qui effectue dans la séquence cette opération suivie de l’opération after

Attributs

Remarques

Retourne une composition LongConsumer qui effectue, en séquence, cette opération suivie de l’opération after . Si l’une ou l’autre opération lève une exception, elle est relayée à l’appelant de l’opération composée. Si cette opération lève une exception, l’opération after n’est pas effectuée.

Java documentation pour java.util.function.LongConsumer.andThen(java.util.function.LongConsumer).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à