Java.Util.IQueue.Element Method
Retrieves, but does not remove, the head of this queue.

Syntax

[Android.Runtime.Register("element", "()Ljava/lang/Object;", "GetElementHandler:Java.Util.IQueueInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object Element ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Util.NoSuchElementExceptionif this queue is empty

Remarks

Retrieves, but does not remove, the head of this queue. This method differs from IQueue.Peek only in that it throws an exception if this queue is empty.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1