PriorityQueue.Offer(Object) Method

Definition

Inserts the specified element into this priority queue.

[Android.Runtime.Register("offer", "(Ljava/lang/Object;)Z", "GetOffer_Ljava_lang_Object_Handler")]
public override bool Offer (Java.Lang.Object? e);
[<Android.Runtime.Register("offer", "(Ljava/lang/Object;)Z", "GetOffer_Ljava_lang_Object_Handler")>]
override this.Offer : Java.Lang.Object -> bool

Parameters

e
Object

Returns

true (as specified by Queue#offer)

Attributes

Remarks

Inserts the specified element into this priority queue.

Java documentation for java.util.PriorityQueue.offer(E).

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