OptionalInt.IfPresent(IIntConsumer) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Se è presente un valore, esegue l'azione specificata con il valore , altrimenti non esegue alcuna operazione.
[Android.Runtime.Register("ifPresent", "(Ljava/util/function/IntConsumer;)V", "", ApiSince=24)]
public void IfPresent(Java.Util.Functions.IIntConsumer? action);
[<Android.Runtime.Register("ifPresent", "(Ljava/util/function/IntConsumer;)V", "", ApiSince=24)>]
member this.IfPresent : Java.Util.Functions.IIntConsumer -> unit
Parametri
- action
- IIntConsumer
azione da eseguire, se è presente un valore
- Attributi
Commenti
per java.util.OptionalInt.ifPresent(java.util.function.IntConsumer).
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.