Microsoft SDK for Java

elementFromHead

This method of the Queue Class retrieves an element relative to the head of the queue.

Syntax

public synchronized Object elementFromHead(int idx);

Return Value

Returns the requested object.

Parameters

idx The offset from the first item in the queue.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.