Language

IDeque.Last Property

Definition

Retrieves, but does not remove, the last element of this deque.

public Java.Lang.Object? Last { [Android.Runtime.Register("getLast", "()Ljava/lang/Object;", "GetGetLastHandler:Java.Util.IDequeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getLast", "()Ljava/lang/Object;", "GetGetLastHandler:Java.Util.IDequeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.Last : Java.Lang.Object

Property Value

the tail of this deque

Attributes

Exceptions

if this deque is empty

Remarks

Retrieves, but does not remove, the last element of this deque. This method differs from peekLast only in that it throws an exception if this deque is empty.

Java reference for java.util.Deque.getLast.

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