Udostępnij za pośrednictwem


Stack.Empty Method

Definition

Tests if this stack is empty.

[Android.Runtime.Register("empty", "()Z", "GetEmptyHandler")]
public virtual bool Empty ();
[<Android.Runtime.Register("empty", "()Z", "GetEmptyHandler")>]
abstract member Empty : unit -> bool
override this.Empty : unit -> bool

Returns

true if and only if this stack contains no items; false otherwise.

Attributes

Remarks

Tests if this stack is empty.

Java documentation for java.util.Stack.empty().

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